Commit bd5111d7 authored by John Esmet's avatar John Esmet

refs #123 Touch the pair regardless of TOKUDB_TRY_AGAIN, to make the

clock behavior more consistent with the rest of the code.
parent 8664a78e
...@@ -2038,9 +2038,7 @@ maybe_pin_pair( ...@@ -2038,9 +2038,7 @@ maybe_pin_pair(
if (retval == TOKUDB_TRY_AGAIN) { if (retval == TOKUDB_TRY_AGAIN) {
unpin_pair(p, (lock_type == PL_READ)); unpin_pair(p, (lock_type == PL_READ));
} }
else { pair_touch(p);
pair_touch(p);
}
pair_unlock(p); pair_unlock(p);
return retval; return retval;
} }
......
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