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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Case:

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: