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

Merge and Split commands should not use the CSR to check the shard version

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22

      Currently, the merge and split commands to the shards attach the shard version and therefore are checking the shard version is up to date with the CSR. Because merge and split are considered ddl operations, they should not do this. Instead, we should do checks similar to those done in move chunk/range which check that the chunks match what the command expects and returns StaleShardVersion otherwise

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: