summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_cache_pool.c
diff options
context:
space:
mode:
authorChenhao Qu <chenhao.qu@mongodb.com>2022-11-02 11:57:10 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-02 02:00:19 +0000
commit4d509d921dac2738a4673c69a40385ecef2b126d (patch)
tree9506a8420a8c8e82759ce688ec88876a26d410e8 /src/third_party/wiredtiger/src/conn/conn_cache_pool.c
parent3bc6b5148c197c5874a69c43002958c633525819 (diff)
downloadmongo-4d509d921dac2738a4673c69a40385ecef2b126d.tar.gz
Import wiredtiger: b95995c695679af17767e64261031e02bcad31fb from branch mongodb-master
ref: bba610ce5d..b95995c695 for: 6.2.0-rc0 WT-10053 Review connection cache and eviction verbosity
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_cache_pool.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_cache_pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_cache_pool.c b/src/third_party/wiredtiger/src/conn/conn_cache_pool.c
index d7a317fd09c..587580df1d4 100644
--- a/src/third_party/wiredtiger/src/conn/conn_cache_pool.c
+++ b/src/third_party/wiredtiger/src/conn/conn_cache_pool.c
@@ -509,7 +509,7 @@ __cache_pool_assess(WT_SESSION_IMPL *session, uint64_t *phighest)
if (cache->cp_pass_pressure > highest)
highest = cache->cp_pass_pressure;
- __wt_verbose(session, WT_VERB_SHARED_CACHE,
+ __wt_verbose_debug2(session, WT_VERB_SHARED_CACHE,
"Assess entry. reads: %" PRIu64 ", app evicts: %" PRIu64 ", app waits: %" PRIu64
", pressure: %" PRIu64,
reads, app_evicts, app_waits, cache->cp_pass_pressure);
@@ -569,7 +569,7 @@ __cache_pool_adjust(WT_SESSION_IMPL *session, uint64_t highest, uint64_t bump_th
pressure = cache->cp_pass_pressure / highest_percentile;
busy = __wt_eviction_needed(entry->default_session, false, true, &pct_full);
- __wt_verbose(session, WT_VERB_SHARED_CACHE,
+ __wt_verbose_debug2(session, WT_VERB_SHARED_CACHE,
"\t%5" PRIu64 ", %3" PRIu64 ", %2" PRIu32 ", %d, %2.3f", entry->cache_size >> 20,
pressure, cache->cp_skip_count, busy, pct_full);
@@ -666,7 +666,7 @@ __cache_pool_adjust(WT_SESSION_IMPL *session, uint64_t highest, uint64_t bump_th
entry->cache_size -= adjustment;
cp->currently_used -= adjustment;
}
- __wt_verbose(session, WT_VERB_SHARED_CACHE, "Allocated %s%" PRIu64 " to %s",
+ __wt_verbose_debug2(session, WT_VERB_SHARED_CACHE, "Allocated %s%" PRIu64 " to %s",
grow ? "" : "-", adjustment, entry->home);
/*