Catalog cache unit tests of allowLocks should block the refresh

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 6.0.10, 7.0.2, 5.0.22
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0, v5.0
    • Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04
    • 40
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-78505, new tests were added to check the behavior of the catalog cache while using the allowLocks option. However, in these tests, we are not blocking the progress of the refresh. This means that these tests have a race condition in which they will fail if the refresh happens fast enough that the new metadata is available.

      We should block the refresh similar to this test which is also testing the allowLocks behavior.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: