[SERVER-75756] Check query presence in plan cache Created: 06/Apr/23 Updated: 03/Nov/23 Resolved: 18/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Timour Katchaounov | Assignee: | Timour Katchaounov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v7.0
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 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. |
| Comments |
| Comment by Githook User [ 03/Nov/23 ] |
|
Author: {'name': 'Timour Katchaounov', 'email': 'timour.katchaounov@mongodb.com', 'username': 'timourk'}Message: (cherry picked from commit a723af8863c5fae1eee7b0a891066e923468e974) |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'Timour Katchaounov', 'email': 'timour.katchaounov@mongodb.com', 'username': 'timourk'}Message: |