ShardingCatalogManager::commitChunkMigration() should reject requests that specifies chunk boundaries with outdated shard key patterns

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding EMEA 2022-04-18
    • 151
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The changes introduced with SERVER-64148 modified the query used by ShardingCatalogManager::commitChunkMigration() to update the entries in config.chunks in a way that requests based on stale shard key patterns are no longer rejected.

      This behaviour may lead to a state of data corruption that prevents new migrations from being performed.

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: