summaryrefslogtreecommitdiff
path: root/src/support/stat.c
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-11-25 14:25:27 -0500
committerSusan LoVerso <sue@wiredtiger.com>2014-11-25 14:25:27 -0500
commitc4f4f2bf57eeca1a39cc399d7392b429d7d0fdd1 (patch)
tree607ae6831ff7e513129cbd374a04529205dcfeb9 /src/support/stat.c
parent8e2f1d41f35cee84393af30c01323b8e25745728 (diff)
downloadmongo-c4f4f2bf57eeca1a39cc399d7392b429d7d0fdd1.tar.gz
Change prepare to prealloc and make it a value rather than boolean
config.
Diffstat (limited to 'src/support/stat.c')
-rw-r--r--src/support/stat.c13
1 files changed, 7 insertions, 6 deletions
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;