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

Move execution of 'checkShardFilteringMetadata' hook in ShardingTest

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-05-01

    Description

      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.

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: