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

Implement chunk checks in checkConsistencyMetadata command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • 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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: