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

Check query presence in plan cache

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • 5

      The test plan_cache_clear.js tests the plan cache state via just checking the number of entries in the plan cache. This results in unstable tests because other threads may insert other plans in the cache.

      Change the test so that it tests for actual presence of a queries in the cache instead of just counting the number of cache entries.

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: