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

Add method to indicate whether a RecoveryUnit has an active transaction

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

      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:
            gabe.villasana@mongodb.com Gabriel Villasana (Inactive)
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: