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

chunk migration blocked on orphan cleanup

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • ALL

    Description

      On a sharded collection with two chunks (both chunks initially on the same shard), when I tried to move one of the chunks to the other shard and back again, the second moveChunk operation that would return the chunk back to its initial location seemed to be blocked on the deferred CollectionRangeDeleter operation:

      (first moveChunk returns)
      I SHARDING [Collection Range Deleter] Deferring deletion of test.t range [{ a: MinKey }, { a: 1.0 }) until T
      (second moveChunk starts)
      (at time T)
      (second moveChunk returns)
      

      Both moveChunk commands were executed with _waitForDelete: false.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: