Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8975

Eviction is triggered with prepared transactions

      While investigatingĀ a test failure we figured that we are losing information about the nature of a transaction when we call commit or rollback.

      In both scenarios, we get inside wt_cache_eviction_check after calling wt_txn_release which sets the flags of the transaction to 0. However, in wt_cache_eviction_check we check if the transaction is prepared so we can skip the check. We need to find a way to retain this info so we early exit when we should.

      A suggested solution is to at least pass in the information regarding the nature of the transaction to wt_cache_eviction_check. Or we could potentially set the flags to 0 after doing the eviction checks.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: