-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
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.
- is related to
-
SERVER-64613 Periodically wake up when waiting for prepare conflicts
- Closed
-
SERVER-65106 Don't perform eviction after prepared transaction commits or rolls-back
- Closed