Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44917

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: