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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.7
    • None
    • 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

        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: