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

Config server startup should handle shardIdentity with no clusterId

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc4
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-06-26

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: