Details
Description
The change that was included with WT-7853 included a fix to eviction which would return EBUSY in an additional location if it fixed OOO or MM timestamps and a checkpoint was running.
This change was reverted but the fix it included should be re-implemented in this ticket.
The patch for that fix is similar to this:
/*
|
* Fixup any out of order timestamps, if we're evicting and a checkpoint is running return EBUSY
|
* and fail the eviction as it could result in an inconsistent checkpoint.
|
*/
|
if (__timestamp_out_of_order_fix(session, select_tw) && F_ISSET(r, WT_REC_EVICT) &&
|
F_ISSET(r, WT_REC_CHECKPOINT_RUNNING))
|
return (EBUSY);
|