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

Robustify tests using $planCacheStats with query shape

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a risk that background activity can introduce unexpected entries into the plan cache, potentially causing some tests to fail (example). We should add a filter by query shape in each relevant call to $planCacheStats, as done here, if necessary.

            Assignee:
            Unassigned Unassigned
            Reporter:
            daniel.segel@mongodb.com Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None