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

Check query presence in plan cache

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.4
    • None
    • None
    • None
    • Fully Compatible
    • v7.0
    • 5

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: