Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60894

Time Series collections bucket re-opening

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 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. 

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            michael.gargiulo@mongodb.com Michael Gargiulo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: