summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/evict/evict_page.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2019-11-18 05:14:47 +0000
committerevergreen <evergreen@mongodb.com>2019-11-18 05:14:47 +0000
commit8772a8a2e8c966d10ff22180633ea4e908734a47 (patch)
tree341647f3b3bdb833ac750214ad7183f5a47054da /src/third_party/wiredtiger/src/evict/evict_page.c
parentfa6a120e11a01504ff01378231a5ece470af082d (diff)
downloadmongo-8772a8a2e8c966d10ff22180633ea4e908734a47.tar.gz
Import wiredtiger: d44b1af8a84ef93d9857432c9af5ef3b3adc8bdd from branch mongodb-4.4
ref: 3a42ced495..d44b1af8a8 for: 4.3.2 WT-4983 Migrate Jenkins “wiredtiger” job to Evergreen WT-4988 Migrate Jenkins “wiredtiger-test-unit” job to Evergreen WT-4989 Migrate Jenkins “wiredtiger-test-unit-long” job to Evergreen WT-4990 Migrate Jenkins “wiredtiger-test-unit-ppc” job to Evergreen WT-4991 Migrate Jenkins “wiredtiger-test-unit-zseries” job to Evergreen WT-5025 Migrate Jenkins “wiredtiger-test-coverage” job to Evergreen WT-5042 Reduce configuration parsing overhead from checkpoints WT-5125 Adding new stats for eviction target strategy WT-5126 Fix incorrect assertion regarding prepared update resolution WT-5136 Fix reading freed memory due to birthmark after uncommitted updates freed WT-5142 Don't create huge root pages when rebalancing or bulk-loading objects with overflow keys WT-5174 Truncation rollback locking is insufficient WT-5181 Preload eatmydata before running evergreen pull request test WT-5193 Revert LAS dropped table change from WT-5150 WT-5196 Data mismatch failures with test/checkpoint after enabling LAS sweep WT-5220 Re-enable LAS dropped table change from WT-5150 WT-5239 Fix syscall failure about metadata file open
Diffstat (limited to 'src/third_party/wiredtiger/src/evict/evict_page.c')
-rw-r--r--src/third_party/wiredtiger/src/evict/evict_page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/evict/evict_page.c b/src/third_party/wiredtiger/src/evict/evict_page.c
index a13526302a2..aa0c248390d 100644
--- a/src/third_party/wiredtiger/src/evict/evict_page.c
+++ b/src/third_party/wiredtiger/src/evict/evict_page.c
@@ -549,6 +549,8 @@ __evict_review(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t evict_flags, bool
*/
if (WT_PAGE_IS_INTERNAL(page)) {
WT_WITH_PAGE_INDEX(session, ret = __evict_child_check(session, ref));
+ if (ret != 0)
+ WT_STAT_CONN_INCR(session, cache_eviction_fail_active_children_on_an_internal_page);
WT_RET(ret);
}
@@ -683,6 +685,9 @@ __evict_review(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t evict_flags, bool
ret = __wt_reconcile(session, ref, NULL, flags, NULL);
}
+ if (ret != 0)
+ WT_STAT_CONN_INCR(session, cache_eviction_fail_in_reconciliation);
+
WT_RET(ret);
/*