-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Execution Team 2021-09-20, Execution Team 2021-10-04
SERVER-59305 introduces a validation method which scans over the measurement data for time-series indexes if the corresponding control field is indexed, in order to reject measurements with disallowed array values.
We can avoid some of these scans by detecting
- if the min and max values saved the the control fields preclude any array-valued measurements or
- if we have already scanned this data field for another indexed key (e.g. the compound index defined on control.min.x and control.max.x might try to scan data.x twice).
There may be other conditions under which we can avoid an unnecessary scan, and we should investigate further
- is related to
-
SERVER-59305 Reject timeseries measurements with array values in indexed fields
- Closed