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

Concurrent rename and shard collection causes shard collection to fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Operating System:
      ALL
    • Linked BF Score:
      11

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: