Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7366

Create a random seed on rs.initiate() to avoid merging replica sets

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.0
    • Replication
    • Replication
    • Fully Compatible
    • ALL

    Description

      Let's have two servers we want to put in the same replicaset A and B

      On A : rs.initiate( [a config whith only A])
      On B : rs.initiate( [a config whith only B])

      then on A : rs.reconfig([a config with A and B])

      A will have two primaries in the replicaset. B will have only himself.

      The reconfig on A should fail instead of work to avoid this situation

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            kamaradclimber Grégoire Seux
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: