timeseries::bucket_catalog::stageInsertBatch() leaks buckets on error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2026-08-31, Storage Execution 2026-09-14
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If staging inserts creates a bucket and then the function subsequently throws an exception, the newly created bucket is not cleaned up. This is normally just a minor memory leak, but if the bucket is later reused it can have weirder effects. For example, the bucket's minimum is set to the timestamp which first created it, but if it is later reused that first value won't actually be present in the bucket.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: