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

DeadlockExceptions thrown during multi-writes may trigger stale configs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.7.8
    • Fix Version/s: None
    • Component/s: Concurrency, Sharding
    • Labels:
      None
    • Operating System:
      ALL

      Description

      See: batch_executor.cpp::multiRemove()/multiUpdate(). The legacy write path is not necessarily affected as mongos no longer uses it.

      If data has already been written these operations should not be aborted, and DeadlockExceptions can get thrown at any time during a multi-write.

      Generally multi-writes are broadcast to all shards, but we should not rely on this behavior for correctness.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              greg_10gen Greg Studer
              Reporter:
              greg_10gen Greg Studer
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: