diff options
Diffstat (limited to 'src/conn/conn_log.c')
-rw-r--r-- | src/conn/conn_log.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c index a8f0fe4810b..2786526c2fa 100644 --- a/src/conn/conn_log.c +++ b/src/conn/conn_log.c @@ -137,7 +137,7 @@ __logmgr_config( if (!reconfig) { WT_RET(__wt_config_gets(session, cfg, "log.file_max", &cval)); conn->log_file_max = (wt_off_t)cval.val; - WT_STAT_FAST_CONN_SET(session, + WT_STAT_CONN_SET(session, log_max_filesize, conn->log_file_max); } @@ -299,14 +299,14 @@ __log_prealloc_once(WT_SESSION_IMPL *session) "Missed %" PRIu32 ". Now pre-allocating up to %" PRIu32, log->prep_missed, conn->log_prealloc); } - WT_STAT_FAST_CONN_SET(session, log_prealloc_max, conn->log_prealloc); + WT_STAT_CONN_SET(session, log_prealloc_max, conn->log_prealloc); /* * Allocate up to the maximum number that we just computed and detected. */ for (i = reccount; i < (u_int)conn->log_prealloc; i++) { WT_ERR(__wt_log_allocfile( session, ++log->prep_fileid, WT_LOG_PREPNAME)); - WT_STAT_FAST_CONN_INCR(session, log_prealloc_files); + WT_STAT_CONN_INCR(session, log_prealloc_files); } /* * Reset the missed count now. If we missed during pre-allocating @@ -632,8 +632,7 @@ restart: coalescing->slot_last_offset = slot->slot_last_offset; coalescing->slot_end_lsn = slot->slot_end_lsn; - WT_STAT_FAST_CONN_INCR( - session, log_slot_coalesced); + WT_STAT_CONN_INCR(session, log_slot_coalesced); /* * Copy the flag for later closing. */ @@ -674,7 +673,7 @@ restart: log->write_start_lsn = slot->slot_start_lsn; log->write_lsn = slot->slot_end_lsn; __wt_cond_signal(session, log->log_write_cond); - WT_STAT_FAST_CONN_INCR(session, log_write_lsn); + WT_STAT_CONN_INCR(session, log_write_lsn); /* * Signal the close thread if needed. */ @@ -720,7 +719,7 @@ __log_wrlsn_server(void *arg) __wt_log_cmp(&log->write_lsn, &log->alloc_lsn) != 0) __wt_log_wrlsn(session, &yield); else - WT_STAT_FAST_CONN_INCR(session, log_write_lsn_skip); + WT_STAT_CONN_INCR(session, log_write_lsn_skip); prev = log->alloc_lsn; did_work = yield == 0; @@ -926,7 +925,7 @@ __wt_logmgr_open(WT_SESSION_IMPL *session) conn = S2C(session); - /* If no log thread services are configured, we're done. */ + /* If no log thread services are configured, we're done. */ if (!FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED)) return (0); |