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

closes #5393, add a comment

git-svn-id: file:///svn/toku/tokudb@47057 c7de825b-a66e-492c-adef-691d508d4ae1
parent 65b7871d
......@@ -1720,6 +1720,11 @@ beginning:
cachetable_miss++;
cachetable_misstime += get_tnow() - t0;
// If the lock_type requested was a PL_READ, we downgrade to PL_READ,
// but if the request was for a PL_WRITE_CHEAP, we don't bother
// downgrading, because we would have to possibly resolve the
// checkpointing again, and that would just make this function even
// messier.
if (lock_type == PL_READ) {
pair_lock(p);
p->value_rwlock.write_unlock();
......
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