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

an update operation may modify a document twice if another update operation moves the document during a yield

    • Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage, Write Ops
    • None

      When a document moves as a result of an update, we store the new location in
      seenObjects. If an update yields and a different update operation moves the
      document, the original update could modify it again. I don't know whether or
      not this is considered correct behavior (if we changed to tracking _id, there is
      another case where this could happen if one update yields and another changes
      the _id - though I could see that potentially being considered more desirable).

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

              Created:
              Updated:
              Resolved: