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

DeadlockExceptions thrown during multi-writes may trigger stale configs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.8
    • Component/s: Concurrency, Sharding
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: