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

Evict pages faster when doing non-cache-disruptive walks

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc7, WT3.0.0, 3.7.1
    • Affects Version/s: None
    • Component/s: None
    • None

      At the moment when doing a walk of a btree with the WT_SESSION_READ_WONT_NEED flag set, we mark pages read from disk with WT_READ_GEN_OLDEST, but won't necessarily attempt to evict them during __wt_page_release_evict because a no-eviction flag might be set.

      It would be nice to evict clean pages in that case. Sadly using the __wt_page_is_modified function to do that check leads to an issue where checkpoint can attempt to reconcile a child page it's just read if the read happened after a fast truncate call - since reading such a page from disk instantiates it in an unusual state.

      See some discussion in WT-3761.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: