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

Investigate BucketCatalog behavior when write to underlying document fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-04-05

    Description

      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.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: