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

Allow replSetInitiate on nodes not started with --replSet

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • RPL 7 08/10/15, RPL 8 08/31/15

      If a node is started without --replSet, and it has neither an oplog nor a local replica set config document, the operator should be able to run replSetInitiate to create a single-node replica set configuration and to prime the oplog. Then, on restart if the operator adds --replSet to the startup configuration directives, the node can immediately transition into PRIMARY rather than waiting in STARTUP for the operator to run replSetInitiate. This should only be allowed for single-node replica set configurations.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: