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

CheckMetadataConsistency hook is not compatible with integration_tests_sharded suite

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

      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:

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

              Created:
              Updated:
              Resolved: