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

Bucket reopening pipeline does not exclude full buckets when buckets are compressed

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.0.0-rc0, 8.1.0-rc0
    • Component/s: None
    • Storage Execution
    • ALL

      The timeseries bucket reopening pipeline relies on this statement to exclude buckets that are already full (and therefore should not be reopened). However, this field is not present/readable when the bucket is compressed, which they all are after the enabling of featureFlagTimeseriesAlwaysUseCompressedBuckets. This can lead to a bucket being selected for reopening that we have no chance of inserting a new document into rather than selecting an actually viable candidate.

      One solution proposed over slack was to check the control.count field for the compressed case, but there were concerns that this could lead to matching many documents and having to scan through them which could impact performance.

            Assignee:
            Unassigned Unassigned
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: