Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Execution Team 2022-05-30, Execution Team 2022-06-13, Execution Team 2022-07-11
-
(copied to CRM)
Description
We should reject any TTL index that is created over a field other than the collection timeField, as well as any TTL index that does not include a partialFilterExpression. The partialFilterExpression should only be allowed to access the metaField (constant across measurements within a bucket), and not any measurement data. We should be able to reuse some existing code for checking and re-writing the partialFilterExpression.
Attachments
Issue Links
- duplicates
-
SERVER-63549 Partial Expression TTL Indexing for Time-Series
-
- Closed
-
- is depended on by
-
SERVER-67144 Prevent downgrade with TTL index on time-series collection
-
- Closed
-