[SERVER-62020] [Retryability] Make retryable write statements executed with or without internal transactions retryable whether or not internal transactions are involved on retries Created: 13/Dec/21  Updated: 29/Oct/23  Resolved: 14/Jan/22

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

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

Issue Links:
Depends
depends on SERVER-58757 [Retryability] Create partial index f... Closed
is depended on by SERVER-60524 [Retryability] Make retryable interna... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-12-27, Sharding 2022-01-10, Sharding 2022-01-24
Participants:
Story Points: 5

 Description   
  • Make refreshFromStorageIfNeeded() load the latest transaction state for the client session and all internal sessions that may have executed RITs on behalf of the command that the TransactionParticipant is executing.
  • Dealing with when to set isValid on a TransactionParticipant.
  • Make checkStatementExecuted() do full history check. That is, regardless of whether a stmtId is being executed as a retryable write or in retryable internal transaction, check if the stmtId was executed either as a regular retryable write or in a previous retryable internal transaction.


 Comments   
Comment by Githook User [ 14/Jan/22 ]

Author:

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

Message: SERVER-62020 Make retryable write statements executed with or without internal transactions retryable whether or not internal transactions are involved on retries
Branch: master
https://github.com/mongodb/mongo/commit/29ef581da2924a81963c563c0f96edd5e56ca9c7

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