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

clock behavior more consistent with the rest of the code.
This commit is contained in:
John Esmet 2013-12-31 13:23:52 -05:00
parent 8664a78ebb
commit bd5111d7c5

View file

@ -2038,9 +2038,7 @@ maybe_pin_pair(
if (retval == TOKUDB_TRY_AGAIN) {
unpin_pair(p, (lock_type == PL_READ));
}
else {
pair_touch(p);
}
pair_touch(p);
pair_unlock(p);
return retval;
}