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

Implement a new sharding hook to verify the sharding filtering metadata

    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23
    • 3

      This check  was initially part of PM-2030 but we discarded the idea because we could get some false positives reports due to the low guarantees of refineShardKey operation.

      The goal of this task is to implement a new sharding hook that it is run at the end of the sharding test and that verifies that what the config server authoritative believes shards own is exactly what shards believe they own. In other words, assuming that we have placement stability (no more operations ongoing (not even moveChunks)), we should verify that the different shard versions that are persisted on config.collections and config.chunks match whatever we have locally in each CollectionShardingRuntime of each shard. 

      The getShardVersion command exposes the information on the CSR.

      We should have a way to disable it.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: