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

Stash UncommittedCollections resources with other transaction state

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Catalog
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-11-04, Execution Team 2019-11-18, Execution Team 2019-12-16, Execution Team 2019-12-30

      As of SERVER-43859, we have a registry of pending collections (UncommittedCollections) as a decoration on the OperationContext. AutoGetCollection performs collection name lookups starting with the UncommittedCollections registry. The collections in the registry are committed via the RecoveryUnit's onCommit handler, and cleared via the onRollback handler.

      This ticket should allow for these UncommittedCollections to be stashed along with other transaction state.

      This ticket needs a unit test, but feel free to defer that to a new ticket.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: