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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Pierlauro Sciarelli
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: