summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/session.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2023-01-16 10:10:09 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-15 23:45:25 +0000
commit9db04b63a52e208d6633fc47c9f83de8db36a429 (patch)
treeea8ac8856b7f3ad4192e6c97fcc96bb6daaf7480 /src/third_party/wiredtiger/src/include/session.h
parentf5444a2b43281f502de681487b67ca5abcfb9f56 (diff)
downloadmongo-9db04b63a52e208d6633fc47c9f83de8db36a429.tar.gz
Import wiredtiger: 205d5c2ccf3c27ca603c42b4a8c5949e8285c9cc from branch mongodb-master
ref: 2e77a29357..205d5c2ccf for: 6.3.0-rc0 WT-10340 Add stats for sessions that did not run a sweep for a while.
Diffstat (limited to 'src/third_party/wiredtiger/src/include/session.h')
-rw-r--r--src/third_party/wiredtiger/src/include/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/session.h b/src/third_party/wiredtiger/src/include/session.h
index 8a91b30ff6c..d4dcbe5e0bf 100644
--- a/src/third_party/wiredtiger/src/include/session.h
+++ b/src/third_party/wiredtiger/src/include/session.h
@@ -98,6 +98,8 @@ struct __wt_session_impl {
uint32_t cursor_sweep_position; /* Position in cursor_cache for sweep */
uint64_t last_cursor_big_sweep; /* Last big sweep for dead cursors */
uint64_t last_cursor_sweep; /* Last regular sweep for dead cursors */
+ u_int sweep_warning_5min; /* Whether the session was without sweep for 5 min. */
+ u_int sweep_warning_60min; /* Whether the session was without sweep for 60 min. */
WT_CURSOR_BACKUP *bkp_cursor; /* Hot backup cursor */