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

The shard to run shardCollection for config.system.sessions may change due to add/removeShard

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 7.3.0-rc0, 8.0.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-10-28, CAR Team 2024-11-11, CAR Team 2024-11-25
    • 3

      The shard where the create coordinator for config.system.sessions is run is the first shard in alphabetical order. This shard may change if a shard is added with a lower alphabetical value than the lowest one or the first shard is removed.

      If this shard changes while the config.system.sessions collection is being sharded, a retry of the command or another node issuing another shardCollection command can lead to multiple shards running the create coordinator for the same collection, leading one to hang at commit time. The shard who's coordinator is hung will not be able to accept chunks for the config.system.sessions collection which could lead to problems for sessions collection scaling.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: