[SERVER-74382] ShardingReplicaSetChangeListener can fail to unset updateInProgress Created: 24/Feb/23  Updated: 29/Oct/23  Resolved: 27/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

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

Issue Links:
Depends
Problem/Incident
is caused by SERVER-70833 Reduce the amount of passed-by-value ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding NYC 2023-03-06
Participants:
Linked BF Score: 140

 Description   

ShardingReplicaSetChangeListener incorrectly copies a struct and unsets updateInProgress on the copy, so the bool is never actually unset, preventing future updates.



 Comments   
Comment by Githook User [ 26/Feb/23 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-74382 Prevent ShardingReplicaSetChangeListener from failing to unset updateInProgress
Branch: master
https://github.com/mongodb/mongo/commit/513497c66e3d3bfa810817fa826540a56b58fd67

Generated at Thu Feb 08 06:27:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.