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

Add statistic for checkpoint waiting for active evictions to finish

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      Each time a handle has a checkpoint started, it waits for the eviction generation to become obsolete (i.e. it waits for all active evictions to drain). This happens in wt_sync_file, where it calls wt_gen_next_drain.

      We should have a statistic exposing when this is happening - measuring the time spent waiting would be acceptable, but sub-optimal (since it can only report once the drain is complete). Perhaps the checkpoint_state statistic could be utilised in conjunction with a time measurement.

            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            will.korteland@mongodb.com Will Korteland
            0 Vote for this issue
            2 Start watching this issue