-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
(copied to CRM)
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
The QueryPlannerParams contains a CollectionInfo object which stores index information. The IndexEntry class stores some pointers taken from the IndexCatalogEntry class.
If that IndexCatalogEntry is invalidated (likely due to a refreshEntry call) then these pointers will become invalid once the last reference to this shared state is released. This means that if there is a yield in the query which is using these QueryPlannerParams, the IndexCatalogEntry could be destroyed and some of the IndexEntry will become invalid.