Add ShardingTest hook to validate indexes are consistent across shards on shutdown

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-12-16, Sharding 2019-12-30
    • 50
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: