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

CheckMetadataConsistency hook is not compatible with integration_tests_sharded suite

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.1, 7.2.0-rc0
    • 7.1.0-rc0
    • None
    • Sharding EMEA
    • Fully Compatible
    • ALL
    • v7.1
    • Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30, CAR Team 2023-11-13
    • 5
    • 1

    Description

      CheckMetadataConsistency hook relies on the isMaster command to asses if the fixture cluster is sharded.

      In the integration_tests_sharded suite we run at least two tests (1, 2) that set a failPoint to make the isMaster command to unconditionally fail, thus if the CheckMetadataConsistency hook runs while the fail point is set it will fail.

       

      I can think of two possible solution here:

      Attachments

        Activity

          People

            robert.sander@mongodb.com Robert Sander
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: