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

Stash UncommittedCollections resources with other transaction state

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • Catalog
    • None
    • Fully Compatible
    • Execution Team 2019-11-04, Execution Team 2019-11-18, Execution Team 2019-12-16, Execution Team 2019-12-30

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: