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

Avoid reading lookaside pages in truncate fast path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.7.4, WT3.1.0
    • Component/s: None
    • Labels:

      Description

      In WT-3805, we made some changes intended to skip most lookaside data when truncating tables.

      This is a particular issue for MongoDB's oplog, which can have lookaside entries when there is replication lag, but should be truncated without re-reading the oplog pages or the lookaside pages containing those entries.

      It appears from internal testing that the changes in WT-3805 were not effective. That needs to be fixed, and we need a regression test for standalone WiredTiger that this isn't reintroduced.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.cahill Michael Cahill
              Reporter:
              michael.cahill Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: