-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When the collection size is less than the default sample size of 384, generateFullCollScanSample() is called instead of generateRandomSample() or generateChunkSample(). In this case, we don't call tryLoadPersistentSample() like we do in the random/chunk sampling functions, so we never find a persisted sample if there is one. We should modify generateFullCollScanSample() to call tryLoadPersistentSample().
- related to
-
SERVER-131041 Complete TODO listed in SERVER-128327
-
- Closed
-
-
SERVER-127501 Refuse persisting too small samples
-
- Needs Scheduling
-
-
SERVER-128713 Add logic to fetch persistent sample on the test-only sequential scan/strides paths
-
- Closed
-