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

Allow replSetInitiate on nodes not started with --replSet

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.7
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      RPL 7 08/10/15, RPL 8 08/31/15

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: