[SERVER-54258] fix use-after-move in resharding donor/recipient coordinators Created: 03/Feb/21  Updated: 29/Oct/23  Resolved: 04/Feb/21

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

Type: Bug Priority: Minor - P4
Reporter: Lamont Nelson Assignee: Lamont Nelson
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2021-02-08
Participants:
Linked BF Score: 50
Story Points: 1

 Description   

occurs in two locations:
*https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/resharding/resharding_recipient_service.cpp#L519
*https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/resharding/resharding_donor_service.cpp#L431



 Comments   
Comment by Githook User [ 04/Feb/21 ]

Author:

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

Message: SERVER-54258: fix use-after move error in resharding_donor_service.cpp and resharding_recipient_service.cpp
Branch: master
https://github.com/mongodb/mongo/commit/5d577246f59efdc15b3556ec82639229f840ee63

Comment by Lamont Nelson [ 03/Feb/21 ]

code review: https://mongodbcr.appspot.com/735760009/

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