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.
Add ShardingTest hook to validate indexes are consistent across shards on shutdown
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: