[SERVER-66552] cleanupOrphanedWhileMigrating.js retries the split collection command indefinitely if fails Created: 18/May/22 Updated: 29/Oct/23 Resolved: 27/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Silvia Surroca | Assignee: | Silvia Surroca |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding EMEA 2022-05-30 |
| Participants: |
| Description |
|
The local function executeCommandWithRetries is not using the input parameter retries, so it's actually retrying the command forever if the command always returns a failure. An alternative solution is to use the assert.soonNoExcept function to retry the command in case of an exception occurs. |
| Comments |
| Comment by Githook User [ 26/May/22 ] |
|
Author: {'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}Message: |