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

CheckMetadataConsistency hook is not compatible with asio_transport_layer_integration_test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 7.0.0, 7.1.0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-09-30
    • 0

      CheckMetadataConsistency hook relies on the discovery topology which uses isMaster behind the scenes - to asses if the fixture cluster is sharded.

      In the `asio_transport_layer_integration_test.cpp` unit test, a failpoint is enabled that causes `isMaster` command to fail during a specific window of time. If the checkMetadataConsistency is run between that windows of time, the test will fail.

      Similar to SERVER-81340, the goal of this ticket is to skip running the CheckMetadataConsistency hook in the specific test `asio_transport_layer_integration_test.cpp` within the integration_tests_sharded suite.

       

      SERVER-81340 attempted to resolve the issue by banning the CheckMetadataConsistency hook from running in some tests. However, this approach overlooked the fact that the path changes for Windows variants, causing the hook to still run. This ticket is intended to address this issue across all variants.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: