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

$atomic update may yield before any writes and possibly between $or clauses

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Concurrency, Write Ops
    • Labels:
      None
    • ALL

      In an update operation, each time we have a chance to select indexes we pick the index that produces the first match. When we are doing this index selection, we currently may yield even if $atomic has been set for the update operation. This yield can occur before any writes take place, and potentially between $or clauses.

            Assignee:
            Unassigned Unassigned
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: