[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: |
|
||||||||||||
| 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: |