Add statistic for checkpoint waiting for active evictions to finish

XMLWordPrintableJSON

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

      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.

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Will Korteland
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: