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

check validity of "configsvr:true" at config validation time

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

      Currently, no check is made at config validation time if the value of "configsvr" in the new replica set config matches the value of the equivalent command line argument "--configsvr". This means if you start nodes without --configsvr and reconfig or initiate with a config that contains "configsvr:true", the reconfig or initiate command succeeds, but all nodes in the replica set immediately transition to REMOVED state.
      Instead, the reconfig or initiate command should fail and return an error.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: