[SERVER-30407] Make findAndModify retryable Created: 28/Jul/17  Updated: 30/Oct/23  Resolved: 18/Aug/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.5.10
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-10733 Docs for SERVER-30407: Make findAndMo... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-08-21, Sharding 2017-09-11
Participants:

 Description   

This will make findAndModify commands with retryability generate an additional type "n" oplog entry that will contain the pre or post image of the update/delete operation. In addition, the actual update/delete oplog entry will contain a preImageTs/postImageTs field that will point to this "n" oplog entry.



 Comments   
Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'renctan', 'email': 'randolph@10gen.com', 'name': 'Randolph Tan'}

Message: SERVER-30407 Add retry logic in findAndModify
Branch: master
https://github.com/mongodb/mongo/commit/86f8af9d40b294852399097daf80894e28c20adc

Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'renctan', 'email': 'randolph@10gen.com', 'name': 'Randolph Tan'}

Message: SERVER-30407 Store pre/post-image documents when running findAndModify with txnNumber
Branch: master
https://github.com/mongodb/mongo/commit/1e11cda15ddae9972f9993a7d6b6cbf9d172bcb3

Generated at Thu Feb 08 04:23:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.