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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.1, 3.5.1
    • Affects Version/s: 3.5.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • 0

      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.

            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: