summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/connection.h')
-rw-r--r--src/third_party/wiredtiger/src/include/connection.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/src/include/connection.h b/src/third_party/wiredtiger/src/include/connection.h
index 7577ce68e46..a23434ea9e2 100644
--- a/src/third_party/wiredtiger/src/include/connection.h
+++ b/src/third_party/wiredtiger/src/include/connection.h
@@ -289,6 +289,12 @@ struct __wt_connection_impl {
uint32_t async_size; /* Async op array size */
uint32_t async_workers; /* Number of async workers */
+ WT_CAPACITY capacity; /* Capacity structure */
+ WT_SESSION_IMPL *capacity_session; /* Capacity thread session */
+ wt_thread_t capacity_tid; /* Capacity thread */
+ bool capacity_tid_set; /* Capacity thread set */
+ WT_CONDVAR *capacity_cond; /* Capacity wait mutex */
+
WT_LSM_MANAGER lsm_manager; /* LSM worker thread information */
WT_KEYED_ENCRYPTOR *kencryptor; /* Encryptor for metadata and log */
@@ -496,12 +502,13 @@ struct __wt_connection_impl {
#define WT_CONN_RECOVERING 0x0020000u
#define WT_CONN_SALVAGE 0x0040000u
#define WT_CONN_SERVER_ASYNC 0x0080000u
-#define WT_CONN_SERVER_CHECKPOINT 0x0100000u
-#define WT_CONN_SERVER_LOG 0x0200000u
-#define WT_CONN_SERVER_LSM 0x0400000u
-#define WT_CONN_SERVER_STATISTICS 0x0800000u
-#define WT_CONN_SERVER_SWEEP 0x1000000u
-#define WT_CONN_WAS_BACKUP 0x2000000u
+#define WT_CONN_SERVER_CAPACITY 0x0100000u
+#define WT_CONN_SERVER_CHECKPOINT 0x0200000u
+#define WT_CONN_SERVER_LOG 0x0400000u
+#define WT_CONN_SERVER_LSM 0x0800000u
+#define WT_CONN_SERVER_STATISTICS 0x1000000u
+#define WT_CONN_SERVER_SWEEP 0x2000000u
+#define WT_CONN_WAS_BACKUP 0x4000000u
/* AUTOMATIC FLAG VALUE GENERATION STOP */
uint32_t flags;
};