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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Replication
    • Replication
    • Fully Compatible
    • ALL

      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

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

              Created:
              Updated:
              Resolved: