Investigate BucketCatalog behavior when write to underlying document fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-04-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We may currently have undefined behavior in the case that the write to the underlying bucket document fails. Currently we handle the update-a-missing-document case by simply clearing the bucket from the BucketCatalog and aborting any pending writes to that bucket. But any other error case seems to be ignored, and the bucket is left with some (likely invalid) state and it's allowed to be used for future measurement insertions. We may need to either clear the bucket in this case as well or think rather carefully about the bucket state (stats, and especially min/max) and how to manage it. At the very least, we need to test such cases, and possibly fix them.

            Assignee:
            Gregory Noma
            Reporter:
            Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: