Move execution of 'checkShardFilteringMetadata' hook in ShardingTest

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-05-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ShardingTest executes the 'checkShardFilteringMetadata' hook after having first executed 'checkUUIDsConsistentAcrossCluster'. 'checkUUIDsConsistentAcrossCluster' may cause the shard to artificially refresh its filtering metadata. This may cover some failures that the 'checkShardFilteringMetadata' would have detected.
      We should make 'checkShardFilteringMetadata' run before any other hook has modified the shard's metadata.

            Assignee:
            Tommaso Tocci
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: