Concurrent rename and shard collection causes shard collection to fail

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While calling trying to check if there are any documents here, it can hit the ""Executor error during find command :: caused by :: collection dropped." error and fail the entire command. Drop and shardCollection on the same collection are not supposed to happen at the same time, but it is possible with renameCollection (since rename never takes dist lock) and dropTarget set to true.

              Assignee:
              Pierlauro Sciarelli
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: