[SERVER-44917] Add ShardingTest hook to validate indexes are consistent across shards on shutdown Created: 02/Dec/19 Updated: 29/Oct/23 Resolved: 20/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Sharding 2019-12-16, Sharding 2019-12-30 | ||||
| Participants: | |||||
| Linked BF Score: | 50 | ||||
| Description |
|
Similar to the checkUUIDsConsistentAcrossCluster() hook, add a hook that runs at ShardingTest shutdown to verify all shards have the same indexes. This hook should be disabled for any tests or suites known to use concurrent conflicting index operations, because they can still lead to inconsistent indexes. |
| Comments |
| Comment by Githook User [ 20/Dec/19 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: |