diff options
author | Chenhao Qu <chenhao.qu@mongodb.com> | 2022-11-02 11:57:10 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-02 02:00:19 +0000 |
commit | 4d509d921dac2738a4673c69a40385ecef2b126d (patch) | |
tree | 9506a8420a8c8e82759ce688ec88876a26d410e8 /src/third_party/wiredtiger/src/conn/conn_tiered.c | |
parent | 3bc6b5148c197c5874a69c43002958c633525819 (diff) | |
download | mongo-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_tiered.c')
-rw-r--r-- | src/third_party/wiredtiger/src/conn/conn_tiered.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_tiered.c b/src/third_party/wiredtiger/src/conn/conn_tiered.c index 02a0f92a628..f75767d7691 100644 --- a/src/third_party/wiredtiger/src/conn/conn_tiered.c +++ b/src/third_party/wiredtiger/src/conn/conn_tiered.c @@ -53,14 +53,15 @@ __tier_storage_remove_local(WT_SESSION_IMPL *session) break; WT_ERR(__wt_tiered_name( session, &entry->tiered->iface, entry->id, WT_TIERED_NAME_OBJECT, &object)); - __wt_verbose(session, WT_VERB_TIERED, "REMOVE_LOCAL: %s at %" PRIu64, object, now); + __wt_verbose_debug2(session, WT_VERB_TIERED, "REMOVE_LOCAL: %s at %" PRIu64, object, now); WT_PREFIX_SKIP_REQUIRED(session, object, "object:"); /* * If the handle is still open, it could still be in use for reading. In that case put the * work unit back on the work queue and keep trying. */ if (__wt_handle_is_open(session, object)) { - __wt_verbose(session, WT_VERB_TIERED, "REMOVE_LOCAL: %s in USE, queue again", object); + __wt_verbose_debug2( + session, WT_VERB_TIERED, "REMOVE_LOCAL: %s in USE, queue again", object); WT_STAT_CONN_INCR(session, local_objects_inuse); /* * FIXME-WT-7470: If the object we want to remove is in use this is the place to call @@ -75,7 +76,8 @@ __tier_storage_remove_local(WT_SESSION_IMPL *session) entry->op_val = now + entry->tiered->bstorage->retain_secs; __wt_tiered_push_work(session, entry); } else { - __wt_verbose(session, WT_VERB_TIERED, "REMOVE_LOCAL: actually remove %s", object); + __wt_verbose_debug2( + session, WT_VERB_TIERED, "REMOVE_LOCAL: actually remove %s", object); WT_STAT_CONN_INCR(session, local_objects_removed); WT_ERR(__wt_fs_remove(session, object, false)); /* |