[SERVER-63820] BalancerCommandsScheduler should load the migrations to recover while holding its state mutex Created: 18/Feb/22 Updated: 29/Oct/23 Resolved: 18/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0, 5.3.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Paolo Polato | Assignee: | Paolo Polato |
| 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 | ||||
| Backport Requested: |
v5.3
|
||||
| Participants: | |||||
| Description |
|
In a recent code change, the logic to load the migration recovery info at start() time has been moved out of the section protected by the mutex. This might be cause the recovery info op to fail if BalancerCommandsScheduler::start() gets invoked while a prior stop() is still being executed. |
| Comments |
| Comment by Githook User [ 18/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 18/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |