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

DeadlockExceptions thrown during multi-writes may trigger stale configs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.7.8
    • 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

        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: