[SERVER-5820] an update operation may modify a document twice if another update operation moves the document during a yield Created: 11/May/12  Updated: 10/Dec/14  Resolved: 10/Sep/14

Status: Closed
Project: Core Server
Component/s: Storage, Write Ops
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Aaron Staple Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-12018 Multi-update can update same doc more... Closed
Participants:

 Description   

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).


Generated at Thu Feb 08 03:09:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.