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

Make BucketCatalog::abort Status parameter non-optional

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-03-07

    Description

      BucketCatalog::abort takes an optional Status which it uses as the error code to abort all batches on the same bucket. If no Status is provided, then it defaults to using TimeseriesBucketCleared. However, it would be better to require callers to specify an abort status. This way we won't potentially lose the error that caused the abort across batches, by converting to TimeseriesBucketCleared when really it was a different status that was the cause.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: