-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
If a query uses sbe plan cache and a hash join, it will be replanned when the foreign collection is no longer eligible for hash join.
The replanning is always done with a multi-planner that will generate a cache entry that is not pinned.
However, if the original query was planned using a sub-planner, the plan cache entry is pinned, so when we try to updated it with a non-pinned cache entry, we will get this error:
Works value is not present in the old cache entry
- is related to
-
SERVER-87466 Trigger replanning by throwing an exception, instead of creating another planner
- Open