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

Require --replSet with --configsvr

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 5.0.3, 5.1.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      Sharding EMEA 2021-08-09
    • Linked BF Score:
      50

      Description

      Starting in 3.4, the only valid way to run a config servers is as a replica set, however we still allow mongods to run with the clusterRole set to configsvr, but without any replica set options. We should error out at startup if we see that we are running as a config server without also being a replica set

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcos.grillo Marcos José Grillo Ramirez
              Reporter:
              spencer Spencer Brody (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: