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

Collection drop may fail in migration_fails_if_exists_in_rangedeletions.js test due to concurrent chunk migration

    • Fully Compatible
    • ALL
    • Sharding 2020-06-29
    • 25

      The migration_fails_if_exists_in_rangedeletions.js test causes a chunk migration to block forever due to the presence of an overlapping range to clean up and the range deleter being paused using a failpoint on the recipient shard. Disabling the suspendRangeDeletion failpoint allows the chunk migration to proceed. If the ongoing chunk migration doesn't complete quickly enough, then the drop command to clean up the sharded collection before running the next test scenario will fail with a LockBusy error response.

      Re-running the moveChunk command which had its maxTimeMS expire after the suspendRangeDeletion failpoint was disabled would ensure the chunk migration is no longer in progress before the drop command is run.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: