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

Catalog cache unit tests of allowLocks should block the refresh

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: