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

DeadlockExceptions thrown during multi-writes may trigger stale configs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 2.7.8
    • None
    • Concurrency, Sharding
    • None
    • 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

              greg_10gen Greg Studer
              greg_10gen Greg Studer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: