[SERVER-85419] Balancer pollutes logs in case no suitable recipient is found during draining Created: 18/Jan/24 Updated: 01/Feb/24 Resolved: 30/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.2.0, 4.4.0, 5.0.0, 6.0.0, 7.0.0, 7.3.0-rc0 |
| Fix Version/s: | 7.0.6, 5.0.25, 4.4.29, 6.0.14, 8.0.0-rc0, 7.3.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Silvia Surroca |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.3, v7.2, v7.0, v6.0, v5.0, v4.4
|
||||||||
| Sprint: | CAR Team 2024-02-05 | ||||||||
| Participants: | |||||||||
| Description |
|
The balancer emit a log message every time it fails to find a destination shard to move out chunks from a draining shard. The problem is that the balancer emits this log warning for every chunk to be drained. This means that potentially in one balnacer round (few secs) we could emit millions of logs leading the machine out of disk space. Another issue is that we should emit a warning only if we actually have some shard still available in this round (not already used in this balancing round) to receive chunks. I believe the same happens also in case no recipient can be found while enforcing zones. |
| Comments |
| Comment by Githook User [ 01/Feb/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 216e7d8a782af1f2ec47895311f289cc5b9883eb |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 37263288a924f45e4f50fa843f81fe67c037a418 |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 451fc5b9cd1ae93b0f54a485388c8e7f9541a1f2 |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: (cherry picked from commit 8aba060e45e9d5f752992252fb1894c12356d7f1) GitOrigin-RevId: 9efa9c85d478fccacb5e4b157b0b556b9853de69 |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 1458e1c229c6dc36c63eb57bd7c5d2e618e9ab0f |
| Comment by Githook User [ 30/Jan/24 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: GitOrigin-RevId: 8aba060e45e9d5f752992252fb1894c12356d7f1 |