diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/support/stat.c')
-rw-r--r-- | src/third_party/wiredtiger/src/support/stat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/support/stat.c b/src/third_party/wiredtiger/src/support/stat.c index ef861fca3da..146643130db 100644 --- a/src/third_party/wiredtiger/src/support/stat.c +++ b/src/third_party/wiredtiger/src/support/stat.c @@ -972,6 +972,7 @@ static const char *const __stats_connection_desc[] = { "cache: page written requiring history store records", "cache: pages currently held in the cache", "cache: pages evicted by application threads", + "cache: pages evicted in parallel with checkpoint", "cache: pages queued for eviction", "cache: pages queued for eviction post lru sorting", "cache: pages queued for urgent eviction", @@ -1488,6 +1489,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->cache_write_hs = 0; /* not clearing cache_pages_inuse */ stats->cache_eviction_app = 0; + stats->cache_eviction_pages_in_parallel_with_checkpoint = 0; stats->cache_eviction_pages_queued = 0; stats->cache_eviction_pages_queued_post_lru = 0; stats->cache_eviction_pages_queued_urgent = 0; @@ -1989,6 +1991,8 @@ __wt_stat_connection_aggregate(WT_CONNECTION_STATS **from, WT_CONNECTION_STATS * to->cache_write_hs += WT_STAT_READ(from, cache_write_hs); to->cache_pages_inuse += WT_STAT_READ(from, cache_pages_inuse); to->cache_eviction_app += WT_STAT_READ(from, cache_eviction_app); + to->cache_eviction_pages_in_parallel_with_checkpoint += + WT_STAT_READ(from, cache_eviction_pages_in_parallel_with_checkpoint); to->cache_eviction_pages_queued += WT_STAT_READ(from, cache_eviction_pages_queued); to->cache_eviction_pages_queued_post_lru += WT_STAT_READ(from, cache_eviction_pages_queued_post_lru); |