[SERVER-61379] File Copy Based Initial Sync must reconstruct prepared transactions at end Created: 10/Nov/21  Updated: 29/Oct/23  Resolved: 15/Nov/21

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

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Replication 2021-11-15
Participants:

 Description   

Currently File Copy Based Initial Sync reconstructs prepared transactions with storage open in the temporary directory. This leaves dangling recovery units around, resulting in segfault.

Additionally we need to reconstruct tenant migration mtabs and set the inReplicationRecovery flag to keep fastcounts correct.



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

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-61379 ReconstructPreparedTransactions should not run during startup recovery for initial sync
Branch: master
https://github.com/mongodb/mongo/commit/25e7b789456a589fdab090760ed08b34fd137e49

Comment by Githook User [ 12/Nov/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-61379 File Copy Based Initial Sync must reconstruct prepared transactions at end
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/1f9179cceb1eeb0d8ee1a5c7913d87ac76c5fb85

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