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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Concurrency, Write Ops
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: