As reported in SERVER-66469, time-series buckets that contain dates prior to Jan 1st 1970 or after year 2108 can be placed out of time-order in the clustered collection. As the bucket unpacking with sort optimization relies on this ordering, we should disable when these exist.
A workaround for users who have dates in this range will be to create an index on the time field which is not subject to this behavior.
- depends on
-
SERVER-66794 Add an in-memory flag for TS collections having dates outside years 1970-2038
- Closed
- is related to
-
SERVER-70747 Rename collection used in bucket_unpacking_with_sort_extended_range.js
- Closed
- related to
-
SERVER-70680 Enable bucket unpacking with sort for extended-range dates
- Backlog