-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
We should avoid throwing & retrying planning if we don't have a plan cache entry, since a thread that has been waiting for a token could wake up (notify_one) because a different thread finished multiplanning. However, that's not a guarantee that we will now have an active plan cache entry- we should only throw if we believe we will hit the plan cache, otherwise we might as well let the query progress through multiplanning.