Add method to indicate whether a RecoveryUnit has an active transaction

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2019-06-03, Execution Team 2019-06-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-38071 we need to explicitly abandon a snapshot after doing a findOne on the authz data for mongod, but there is no way to know whether you already have a snapshot to begin with. This should be okay since authz checks are the first thing we do, but it would be nice to be able to check that assumption and ensure programmatically that we are not abandoning a snapshot that a user query needs.

      geert.bosch told me to file this ticket to lift the inActiveTxn() function into the RecoveryUnit interface.

            Assignee:
            Gabriel Villasana (Inactive)
            Reporter:
            Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: