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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-06-29
    • Linked BF Score:
      25

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            matthew.saltz Matthew Saltz
            Reporter:
            max.hirschhorn Max Hirschhorn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: