summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hows <howsdav@gmail.com>2016-08-16 11:43:58 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2016-08-16 11:43:58 +1000
commit8e3c4660dce3c4620aae65493241238d23e9a04a (patch)
tree4e139a210cd34aee8b9cfa3591373943907f2c55
parent2a3502b086a5656514e8abab95ea69fd27e4db56 (diff)
downloadmongo-8e3c4660dce3c4620aae65493241238d23e9a04a.tar.gz
WT-2841 Initialize verbose checkpoint timer at start of checkpoint (#2964)
-rw-r--r--src/txn/txn_ckpt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c
index 089237d79e3..89fb8905653 100644
--- a/src/txn/txn_ckpt.c
+++ b/src/txn/txn_ckpt.c
@@ -555,6 +555,9 @@ __txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[])
/* Reset the maximum page size seen by eviction. */
conn->cache->evict_max_page_size = 0;
+ /* Initialize the verbose tracking timer */
+ WT_ERR(__wt_epoch(session, &verb_timer));
+
/*
* Update the global oldest ID so we do all possible cleanup.
*