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

Make splitChunk and moveChunk commands interpret and check the chunkVersion field

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2016-10-10, Sharding 2016-10-31, Sharding 2016-11-21

      This ticket is the shard-side counterpart of SERVER-25527. We should change the logic of splitChunk and moveChunk to check for the presence of the chunkVersion field as part of the request and if it is present to ensure that the chunk being changed has the matching version instead of just checking the collection version.

      This is necessary in order to be able to get rid of the collection distributed lock during these operations and to make them idempotent.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: