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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: