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

Race condition in migration_manager.cpp with moveChunk command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      see sharded_moveChunk_drop_shard_key_index.js

      Show
      see sharded_moveChunk_drop_shard_key_index.js
    • Sprint:
      Sharding 2019-12-02
    • Linked BF Score:
      4

      Description

      If another moveChunk command moves the chunk concurrently. The check for the target chunk shardId here may sometimes fail and intermittently expose a "Destination shard cannot be the same as source" error to the clients.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: