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

Make splitChunk and moveChunk commands interpret and check the chunkVersion field

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0-rc3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2016-10-10, Sharding 2016-10-31, Sharding 2016-11-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: