Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8045

Align eviction behaviour for handling of out of order timestamps

    • 3
    • Storage - Ra 2021-09-06

      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);
      

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: