Commit 88a7de43 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

[t:4298] A note about locking. Refs #4298.

git-svn-id: file:///svn/toku/tokudb@41627 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2788c919
...@@ -3528,6 +3528,7 @@ log_open_txn (OMTVALUE txnv, u_int32_t UU(index), void *UU(extra)) { ...@@ -3528,6 +3528,7 @@ log_open_txn (OMTVALUE txnv, u_int32_t UU(index), void *UU(extra)) {
int r = toku_omt_iterate(txn->open_brts, set_filenum_in_array, array); int r = toku_omt_iterate(txn->open_brts, set_filenum_in_array, array);
assert(r==0); assert(r==0);
} }
// Zardosht claims that COMMITTING, ABORTING and RETIRED can never happen because of the multi-operation lock.
switch (toku_txn_get_state(txn)) { switch (toku_txn_get_state(txn)) {
case TOKUTXN_LIVE: case TOKUTXN_LIVE:
case TOKUTXN_COMMITTING: case TOKUTXN_COMMITTING:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment