diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-09-24 19:08:31 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-09-24 19:08:31 -0400 |
commit | 870c31260a392cdc54a641f76bf284cd56beb5a1 (patch) | |
tree | 3c46966efbce43224e83bed2da49752e0a3dc504 /src/support | |
parent | bf73393654fbff7dc19e2fbc7d24be8fdffd2ac1 (diff) | |
parent | aa524da29b94aca9ba5b22b48850aca68d3f9515 (diff) | |
download | mongo-870c31260a392cdc54a641f76bf284cd56beb5a1.tar.gz |
Merge branch 'develop' into more-bool
Diffstat (limited to 'src/support')
-rw-r--r-- | src/support/stat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support/stat.c b/src/support/stat.c index b6b9dd71b3b..4e7f54937f4 100644 --- a/src/support/stat.c +++ b/src/support/stat.c @@ -577,6 +577,7 @@ static const char * const __stats_connection_desc[] = { "log: maximum log file size", "log: pre-allocated log files prepared", "log: number of pre-allocated log files to create", + "log: pre-allocated log files not ready and missed", "log: pre-allocated log files used", "log: log release advances write LSN", "log: records processed by log scan", @@ -773,6 +774,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->log_slot_consolidated = 0; /* not clearing log_max_filesize */ /* not clearing log_prealloc_max */ + stats->log_prealloc_missed = 0; stats->log_prealloc_files = 0; stats->log_prealloc_used = 0; stats->log_scan_records = 0; @@ -959,6 +961,7 @@ __wt_stat_connection_aggregate( WT_STAT_READ(from, log_slot_consolidated); to->log_max_filesize += WT_STAT_READ(from, log_max_filesize); to->log_prealloc_max += WT_STAT_READ(from, log_prealloc_max); + to->log_prealloc_missed += WT_STAT_READ(from, log_prealloc_missed); to->log_prealloc_files += WT_STAT_READ(from, log_prealloc_files); to->log_prealloc_used += WT_STAT_READ(from, log_prealloc_used); to->log_scan_records += WT_STAT_READ(from, log_scan_records); |