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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.7
    • Replication
    • None
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: