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

Align eviction behaviour for handling of out of order timestamps

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 4.4.9, 5.0.3, 5.1.0-rc0
    • None
    • 3
    • Storage - Ra 2021-09-06

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: