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

Some invariants in MigrationChunkClonerSourceLegacy are not applicable to broadcast multi-update and multi-delete

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.5.1
    • 3.4.1, 3.5.1
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      The MigrationChunkClonerSourceLegacy code has several invariants to ensure that no document operations are lost during chunk migrations. One is to ensure that no operation is done after the critical section and the other is to ensure that all updates have been transferred to the recipient shard.

      Both these invariants assume that all updates are getting blocked while the shard is in a critical section. However, this is not the case for broadcast multi-update and multi-delete which do not contain shard version.

      Attachments

        Issue Links

          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: