Fix hard-closed rollover actions stats being incorrect in new timeseries write path

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-03-17, Storage Execution 2025-03-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We can run into this scenario:

      Within the stageInsertBatch/stageInsertBatchIntoEligibleBucket path, we mark a rollover action as kHardClose due to schema change.

      We then rollover it in findAndRolloverOpenBucketsĀ without calling updateRolloverStats.
      This will then lead to incorrect numBucketsClosedDueToSchemaChange. Or any hard-closed metric.
      I believe this is the only place where we directly rollover without updateRolloverStats; we may also need to take a look at the abort behavior and see if this is consistent with the old write path/if we would need to updateRolloverStats at any point.

            Assignee:
            Stephanie Eristoff
            Reporter:
            Stephanie Eristoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: