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

BSONColumnBuilder throwing should be handled gracefully

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-01-22, Execution Team 2024-02-05, Execution Team 2024-02-19, Execution Team 2024-03-04

      BSONColumnBuilder throwing should be handled gracefully. It may throw for valid reasons, for example, if users have performed direct writes to the bucket collection corrupting the BSONColumn binary in a way that is not caught by BSON validation.

      If bucket compression is performed as a re-write when the bucket closes we should leave the bucket uncompressed.

      If bucket compression is part of inserting data into an existing bucket we should close this bucket and retry the insert into a new bucket (that is guaranteed to not be corrupted). This requires that all type of valid BSON from the user is encodable in BSONColumn.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: