Commit d177d67a authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5772, make a blind fix to set txn->oldest_referenced_xid to TXNID_NONE during recovery

git-svn-id: file:///svn/toku/tokudb@50939 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0983bd0f
......@@ -360,7 +360,7 @@ int toku_txn_manager_start_txn(
}
r = txn_manager->live_root_txns.insert_at(txn->txnid64, idx);
}
txn->oldest_referenced_xid = get_oldest_referenced_xid_unlocked(txn_manager);
txn->oldest_referenced_xid = for_recovery ? TXNID_NONE : get_oldest_referenced_xid_unlocked(txn_manager);
// setup information for snapshot reads
if (txn->snapshot_type != TXN_SNAPSHOT_NONE) {
......
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