summaryrefslogtreecommitdiff
path: root/src/btree/rec_evict.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-02-27 09:37:46 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-02-27 09:37:46 -0500
commit1fac6621889df5dd3915c83f7254bd2ff9a588df (patch)
tree416db7faec1b305a3a2c6f28d283e1d90d6cbb4a /src/btree/rec_evict.c
parent524b0877e232f62cca5174b460e2507e879781ea (diff)
downloadmongo-1fac6621889df5dd3915c83f7254bd2ff9a588df.tar.gz
Fix up the statistics fields, remove most of the previous merge/split
statistics.
Diffstat (limited to 'src/btree/rec_evict.c')
-rw-r--r--src/btree/rec_evict.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/rec_evict.c b/src/btree/rec_evict.c
index 20b7af68841..dbec7813725 100644
--- a/src/btree/rec_evict.c
+++ b/src/btree/rec_evict.c
@@ -238,6 +238,7 @@ __rec_split_deepen(WT_SESSION_IMPL *session, WT_PAGE *page)
pindex = page->pg_intl_index;
entries = (uint32_t)btree->split_deepen;
+ WT_STAT_FAST_CONN_INCR(session, cache_eviction_deepen);
WT_VERBOSE_ERR(session, split,
"%p: %" PRIu32 " elements, splitting into %" PRIu32 " children",
page, pindex->entries, entries);
@@ -537,7 +538,7 @@ __rec_split_evict(WT_SESSION_IMPL *session, WT_REF *parent_ref, WT_PAGE *page)
/*
* We're already holding the parent page locked, see if the parent needs
- * to split.
+ * to split, deepening the tree.
*
* Page splits trickle up the tree, that is, as leaf pages grow large
* enough, they'll split into their parent, as that parent grows large