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

Config server startup should handle shardIdentity with no clusterId

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-06-26

      Config server startup will initialize its sharding state if a shard identity document is found locally. This triggers loading cluster settings from the config server, including the cluster identity document, which is assumed to always be available if the shard identity was found, since it is always inserted earlier when the first config primary steps up. This logic runs before replication recovery, so if the config server restarts after a failed initial sync that only copied the shard identity document, there may be no cluster identity, which triggers an infinite retry loop looking for that document, blocking startup.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: