Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1407

The order of config servers can be changed, but only if all servers are restarted

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Based on note & i/m exchange with scotthernandez:

      • The configdb option (order of the config servers) is not fixed forever, only for a running cluster
        • All mongos must use the same configdb option (same order)
        • The first (avail) config server listed is used for reads
      • The configdb option (with the order) can be changed, but only if all mongos (and shards) are brought down and then up with a new configdb string.
      • Only mongos and the shards keep track of this setting
        • The actual config servers know nothing about the order, or each other

      http://docs.mongodb.org/manual/reference/mongos/?highlight=configdb#cmdoption-mongos--configdb

      Attachments

        Activity

          People

            bgrabar Bob Grabar
            epc Ed Costello
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 44 weeks ago