[SERVER-39091] startClone can trigger invariant failure on error Created: 18/Jan/19  Updated: 29/Oct/23  Resolved: 23/Jan/19

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

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

Issue Links:
Depends
is depended on by SERVER-38147 Cap donor migration lock acquisition ... Closed
Related
related to SERVER-39337 MigrationSourceManager can hit an inv... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-01-28
Participants:

 Description   

`_cloneDriver` is set here, but if an error occurs, it can trigger an invariant failure in _cleanup.



 Comments   
Comment by Githook User [ 23/Jan/19 ]

Author:

{'email': 'kimberly.tao@mongodb.com', 'name': 'Kim Tao', 'username': 'Kimchelly'}

Message: SERVER-39091 Set cloning state before initializing clone driver
Branch: master
https://github.com/mongodb/mongo/commit/c7f46f575a95c7de30305ee47d109442b0b9cf58

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