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

Reduce impact of checkpoints on eviction server

    XMLWordPrintable

Details

    • Storage 2017-02-13

    Description

      When a checkpoint visits a tree, it first waits for eviction to drain in order to be sure that all eviction obeys the btree->checkpointing state.

      The current process for achieving this involves incrementing cache->pass_intr, which interrupts the eviction server so that it releases cache->evict_pass_lock. However, in the process, the eviction server also forgets all walk points in all trees.

      Checkpoint repeats this process for every tree in the cache, which can cause eviction to stall repeatedly while a checkpoint is active. Reduce the impact of checkpoints on eviction by making the interrupt more lightweight.

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: