Stash UncommittedCollections resources with other transaction state

XMLWordPrintableJSON

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

      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 van Keulen
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: