diff options
author | Luke Chen <luke.chen@mongodb.com> | 2023-01-16 10:10:09 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-15 23:45:25 +0000 |
commit | 9db04b63a52e208d6633fc47c9f83de8db36a429 (patch) | |
tree | ea8ac8856b7f3ad4192e6c97fcc96bb6daaf7480 /src/third_party/wiredtiger/src/include/session.h | |
parent | f5444a2b43281f502de681487b67ca5abcfb9f56 (diff) | |
download | mongo-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.h | 2 |
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 */ |