[SERVER-60525] [Retryability] Make retryable write statements executed in internal transactions retryable across resharding Created: 07/Oct/21  Updated: 29/Oct/23  Resolved: 09/Mar/22

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

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-58756 [Retryability] Add retryability suppo... Closed
Issue split
split to SERVER-63441 [Retryability] Handle retryable inter... Closed
split to SERVER-63444 [Retryability] Make retryable findAnd... Closed
split to SERVER-63877 Determine if resharding should migrat... Closed
split to SERVER-63880 [Retryability] Make resharding handle... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-02-07, Sharding 2022-02-21, Sharding 2022-03-07, Sharding NYC 2022-03-21
Participants:
Linked BF Score: 150
Story Points: 3

 Description   
  • Make resharding recipients log and apply oplog entries for retryable internal transactions just like it does for oplog entries for retryable writes
  • Verify that retryability works correctly for cross-shard transactions.


 Comments   
Comment by Githook User [ 18/Feb/22 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: Revert "SERVER-60525 Make retryable internal transactions retryable across resharding"

This reverts commit 23d29a6164937152a93cd6c046f522c6c5af5f09.
Branch: master
https://github.com/mongodb/mongo/commit/06f742dbd63831eaae3bb18a6661387ae9222d8c

Comment by Lamont Nelson [ 18/Feb/22 ]

Going to revert this change due to hot bf-24365. Patch build is here: https://spruce.mongodb.com/version/620fb912d1fe077b9eb177ed/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC.

Comment by Githook User [ 17/Feb/22 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-60525 Make retryable internal transactions retryable across resharding
Branch: master
https://github.com/mongodb/mongo/commit/23d29a6164937152a93cd6c046f522c6c5af5f09

Comment by Jack Mulrow [ 07/Oct/21 ]

This will also include reserving an extra optime for findAndModify operations in a retryable transaction.

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