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

Avoid timeout in RoutingContextPropagatesCatalogCacheErrors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Catalog
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 200
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the test calls invalidateCollectionEntry_LINEARIZABLE before hitting the failpoint, which triggers a blocking refresh on the next access. There is a race between the async refresh in the background thread and the invalidation of the cache/cancellation of the refresh at the end of the test in the main thread.

      This test can be rewritten to use a mock error response with a future that's guaranteed to finish with a response or error.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: