[SERVER-62901] Fix defragmentation stuck after phase transition Created: 23/Jan/22 Updated: 29/Oct/23 Resolved: 25/Jan/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Tommaso Tocci |
| 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 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently when we transition from phase 2 to phase 3 during BalancerDefragmentationPolicyImpl::selectChunksToMove we are not waking up the actionStreamConsumerThread that will remain stuck waiting for the next streamable action even though we already have some actions to perform as part of phase 3. The consequence is that phase 3 will never make progress and the defragmentation won't be able to complete. |
| Comments |
| Comment by Githook User [ 25/Jan/22 ] |
|
Author: {'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}Message: |