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

Implement chunk checks in checkConsistencyMetadata command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03
    • 162

      DB primary shard send _configsvrCheckMetadataConsistency(dbName) to the config server to check chunks consistency:

      1. There should be no chunk with empty history.
      2. The shard name in the first element of the history array matches the shard name in the top level of the chunk (code). 
      3. No range gaps -  Chunks must always cover the entire shard key space for a specific collection [minKey, maxKey)
      4. No overlap ranges for chunks

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: