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

Collection writes using batch writer should work more like regular writes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-10-16

    Description

      When using the BatchedCollectionCatalogWriter in combination with WriteUnitOfWork the cloned writable collection instance should roll back and be discarded like it behaves for regular writes when the WUOW rolls back.

      Currently, stale state can leak into the writable collection instance when the WriteUnitOfWork rolls back, making it more difficult to rely on the copy-on-write semantics over having to manually implement onRollback handlers.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: