From c4f4f2bf57eeca1a39cc399d7392b429d7d0fdd1 Mon Sep 17 00:00:00 2001 From: Susan LoVerso Date: Tue, 25 Nov 2014 14:25:27 -0500 Subject: Change prepare to prealloc and make it a value rather than boolean config. --- src/support/stat.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/support/stat.c') diff --git a/src/support/stat.c b/src/support/stat.c index 888514c01dd..b6a25060d73 100644 --- a/src/support/stat.c +++ b/src/support/stat.c @@ -422,11 +422,11 @@ __wt_stat_init_connection_stats(WT_CONNECTION_STATS *stats) stats->log_writes.desc = "log: log write operations"; stats->log_slot_consolidated.desc = "log: logging bytes consolidated"; stats->log_max_filesize.desc = "log: maximum log file size"; - stats->log_prepared_max.desc = - "log: maximum prepared log files to create"; - stats->log_prepared_files.desc = + stats->log_prealloc_max.desc = + "log: number of pre-allocated log files to create"; + stats->log_prealloc_files.desc = "log: pre-allocated log files prepared"; - stats->log_prepared_used.desc = "log: prepared log files used"; + stats->log_prealloc_used.desc = "log: pre-allocated log files used"; stats->log_slot_toobig.desc = "log: record size exceeded maximum"; stats->log_scan_records.desc = "log: records processed by log scan"; stats->log_slot_switch_fails.desc = @@ -561,8 +561,9 @@ __wt_stat_refresh_connection_stats(void *stats_arg) stats->log_sync.v = 0; stats->log_writes.v = 0; stats->log_slot_consolidated.v = 0; - stats->log_prepared_files.v = 0; - stats->log_prepared_used.v = 0; + stats->log_prealloc_max.v = 0; + stats->log_prealloc_files.v = 0; + stats->log_prealloc_used.v = 0; stats->log_slot_toobig.v = 0; stats->log_scan_records.v = 0; stats->log_slot_switch_fails.v = 0; -- cgit v1.2.1