[SERVER-58756] [Retryability] Add retryability support for internal transactions for retryable writes Created: 22/Jul/21  Updated: 29/Oct/23  Resolved: 29/Oct/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
depends on SERVER-58751 Support internal sessions Closed
is depended on by SERVER-58758 [Retryability] Make single oplog entr... Closed
is depended on by SERVER-58765 Test two routers running the same ret... Closed
is depended on by SERVER-60524 [Retryability] Make retryable interna... Closed
is depended on by SERVER-60525 [Retryability] Make retryable write s... Closed
is depended on by SERVER-60540 [Retryability] Add retryability suppo... Closed
Issue split
split to SERVER-60540 [Retryability] Add retryability suppo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-10-18, Sharding 2021-11-01
Participants:
Story Points: 5

 Description   
  • Make TransactionParticipant track the stmtIds of write statements in retryable internal transactions and include the stmtIds in operation entries in applyOps oplog entries.
  • Support reconstructing responses for write commands (not including findAndModify) that used internal transactions.


 Comments   
Comment by Githook User [ 29/Oct/21 ]

Author:

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

Message: SERVER-58756 Support retrying internal transactions for retryable writes after failover/restart
Branch: master
https://github.com/mongodb/mongo/commit/143b128e7e79a5e870db6bf7071e933887074a5a

Comment by Githook User [ 29/Oct/21 ]

Author:

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

Message: SERVER-58756 Support retrying internal transactions for retryable writes
Branch: master
https://github.com/mongodb/mongo/commit/d8083ac44ef62344c778bfee6f619cb79f9433b0

Comment by Githook User [ 29/Oct/21 ]

Author:

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

Message: SERVER-58756 Move ApplyOpsCommandInfo into a separate library
Branch: master
https://github.com/mongodb/mongo/commit/4e04c860df75edf6b8bd1de205de0f379f67ea25

Comment by Githook User [ 29/Oct/21 ]

Author:

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

Message: SERVER-58756 Store stmtIds for the operations in retryable internal transactions in applyOps oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/ea197fd5193fe034174584e60290dd90fe01d2b1

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