[SERVER-66618] Ensure ReshardingCoordinator has aborted in resharding_coordinator_recovers_abort_decision.js Created: 20/May/22 Updated: 29/Oct/23 Resolved: 23/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc7, 5.0.10, 5.3.3, 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v6.0, v5.3, v5.0
|
||||||||
| Sprint: | Sharding NYC 2022-05-30 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 35 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
The reshardingPauseCoordinatorBeforeBlockingWrites failpoint managed by the ReshardingTest fixture is unset by the time the abortReshardCollection command is run by the parallel shell. The lack of synchronization in the test permits the ReshardingCoordinator to accidentally commit the resharding operation before the abortReshardCollection command is actually processed.
|
| Comments |
| Comment by Githook User [ 07/Jun/22 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Fixes an issue in the resharding_coordinator_recovers_abort_decision.js (cherry picked from commit 18ec8376222bd7afe8485441af2c3aba3130ea2e) |
| Comment by Liubov Molchanova [ 07/Jun/22 ] |
|
Requesting backport as the failure reproduced on v5.3 in BFG-1195243, BFG-1195241 |
| Comment by Githook User [ 23/May/22 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Fixes an issue in the resharding_coordinator_recovers_abort_decision.js (cherry picked from commit 18ec8376222bd7afe8485441af2c3aba3130ea2e) |
| Comment by Githook User [ 23/May/22 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Fixes an issue in the resharding_coordinator_recovers_abort_decision.js (cherry picked from commit 18ec8376222bd7afe8485441af2c3aba3130ea2e) |
| Comment by Githook User [ 20/May/22 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Fixes an issue in the resharding_coordinator_recovers_abort_decision.js |