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

Collection writes using batch writer should work more like regular writes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-10-16
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: