-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
When measurements are inserted significantly out-of-order, buckets tend to be closed often, which leads to very inefficient bucketing, and often buckets with only one measurement. Additionally, after a restart, we effectively close all buckets and have to start bucketing over again.
Currently, once a bucket is closed and removed from the BucketCatalog, it may not be re-opened. Instead, a bucket should only be permanently closed if it is full.
If there is no suitable open bucket for a measurement, we should attempt to find a closed bucket, load it into the BucketCatalog, and insert more measurements.
- duplicates
-
SERVER-66690 Insert into closed buckets identified via aggregation pipeline
- Closed
- is duplicated by
-
SERVER-61029 Inconsistent behavior for time series collections when using insertMany
- Closed
- is related to
-
SERVER-61045 Provide mechanism to compress existing buckets
- Backlog