[SERVER-61191] [Retryability] Make ReplOperation support storing postImage and needsRetryImage Created: 02/Nov/21  Updated: 29/Oct/23  Resolved: 20/Nov/21

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

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

Issue Links:
Depends
is depended on by SERVER-60540 [Retryability] Add retryability suppo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-11-15, Sharding 2021-11-29
Participants:
Story Points: 1

 Description   

To support findAndModify in retryable internal transactions, we need to support both storing pre-image and storing post-image for operations in multi-document transactions. Therefore, we should make DurableRelpOperation support storing postImageOpTime and needsRetryImage  and ReplOperation store add full postImage (similar to full preImage).



 Comments   
Comment by Githook User [ 20/Nov/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-61191 Add postImage and needsRetryImage to ReplOperation
Branch: master
https://github.com/mongodb/mongo/commit/95ba764c2c7a787e117536fe5632fe484f9178c8

Generated at Thu Feb 08 05:51:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.