[SERVER-59152] Make range deletion submission resilient to onShardVersionMismatch exceptions Created: 06/Aug/21 Updated: 29/Oct/23 Resolved: 06/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 5.1.0, 5.0.2 |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| 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.0
|
||||||||
| Sprint: | Sharding EMEA 2021-08-09 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 146 | ||||||||
| Description |
|
With the partially wrong changes introduced in As this is definitely not the case, the range deletion task submission is failing and not retried in case any other exception is thrown. A possible way to fix the problem would be calling onShardVersionMismatch within a retryIdempotentWorkAsPrimaryUntilSuccessOrStepdown. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 10/Aug/21 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: (cherry picked from commit 3bdbe14de35d849f729221805c22b9ce76a1a9d6) |
| Comment by Githook User [ 06/Aug/21 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |