[SERVER-57098] Recipient cannot uassert that we don't process the same donor statement twice Created: 20/May/21  Updated: 29/Oct/23  Resolved: 25/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-52713 [testing] Add stepdown/kill/terminate... Closed
Related
related to SERVER-55357 Repeated retryable write execution on... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-05-31
Participants:

 Description   

The recipient could hit this uassert if the retryable write statement was first started on the recipient set and the same tenant migrates back in after being migrated out (i.e. rs1->rs0->rs1 where rs1 is the recipient set). In that case, the in-memory txnParticipant is still valid and may still have the statement ids recorded from the first time when the retryable writes started.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 26/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-57098: Reset retryable write state on the tenant migration recipient if it is starting a new history chain

(cherry picked from commit f1cb4b059ba3fe4d82d44ad480f08acb02697a99)
Branch: v5.0
https://github.com/mongodb/mongo/commit/aac6b623296c3a22f7a5baaa0ebb71fff69e7f22

Comment by Githook User [ 25/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-57098: Reset retryable write state on the tenant migration recipient if it is starting a new history chain
Branch: master
https://github.com/mongodb/mongo/commit/f1cb4b059ba3fe4d82d44ad480f08acb02697a99

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