summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/connection.h
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2021-02-18 14:23:00 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-18 03:35:47 +0000
commit867e27da7713f864a867d8b0cb7ef5fd03ae01cd (patch)
tree771a2ff361f969c3b14726db3fdc773e54513cb6 /src/third_party/wiredtiger/src/include/connection.h
parenta224fd19449424a84c269c7eec798c05b6ea4474 (diff)
downloadmongo-867e27da7713f864a867d8b0cb7ef5fd03ae01cd.tar.gz
Import wiredtiger: e780f549e3db52614071af42dbb523fcc962ad2b from branch mongodb-4.4
ref: 33f1a6eedf..e780f549e3 for: 4.4.5 WT-5137 Switch to macos-1014 Evergreen distro WT-6513 Update history store configuration to make overflow keys unlikely WT-6714 Update API documentation for WT exposed APIs WT-6850 Create and add config parsing for the workload generator class WT-6950 Create test coverage documentation landing page WT-7028 Sweep thread shouldn't lock during checkpoint gathering handles WT-7070 Triage column store HS test failures WT-7087 API for tiered storage WT-7143 Collect data on failing assert when in-use dhandle can't be reopened WT-7162 Removing c++ test frameworks for memory sanitizer testing WT-7163 Document new wt printlog option WT-7167 Do not perform forward compatibility test with wt dump/load WT-7174 Fix memory leak for cppsuite test WT-7181 Turn off LSM tests in test/format WT-7183 Sort test filenames in test coverage document WT-7184 Prevent non-ASCII input in doc files WT-7192 Fix failing assert when in-use dhandle can't be reopened WT-7202 Check for no count in assertion WT-7211 Added missing return statement in stress testing framework
Diffstat (limited to 'src/third_party/wiredtiger/src/include/connection.h')
-rw-r--r--src/third_party/wiredtiger/src/include/connection.h61
1 files changed, 41 insertions, 20 deletions
diff --git a/src/third_party/wiredtiger/src/include/connection.h b/src/third_party/wiredtiger/src/include/connection.h
index 5af42c1a0e7..1d89514f143 100644
--- a/src/third_party/wiredtiger/src/include/connection.h
+++ b/src/third_party/wiredtiger/src/include/connection.h
@@ -365,6 +365,25 @@ struct __wt_connection_impl {
const char *stat_stamp; /* Statistics log entry timestamp */
uint64_t stat_usecs; /* Statistics log period */
+ WT_SESSION_IMPL *tiered_session; /* Tiered thread session */
+ wt_thread_t tiered_tid; /* Tiered thread */
+ bool tiered_tid_set; /* Tiered thread set */
+ WT_CONDVAR *tiered_cond; /* Tiered wait mutex */
+ uint64_t tiered_object_size; /* Tiered object size */
+ uint64_t tiered_retain_secs; /* Tiered period */
+ const char *tiered_auth_token; /* Tiered authentication cookie */
+
+ WT_TIERED_MANAGER tiered_manager; /* Tiered worker thread information */
+ bool tiered_server_running; /* Internal tiered server operating */
+
+ uint32_t tiered_threads_max; /* Max tiered threads */
+ uint32_t tiered_threads_min; /* Min tiered threads */
+
+/* AUTOMATIC FLAG VALUE GENERATION START */
+#define WT_CONN_TIERED_ENABLED 0x1u /* Shared tiered is configured */
+ /* AUTOMATIC FLAG VALUE GENERATION STOP */
+ uint32_t tiered_flags; /* Global tiered configuration */
+
/* AUTOMATIC FLAG VALUE GENERATION START */
#define WT_CONN_LOG_ARCHIVE 0x001u /* Archive is enabled */
#define WT_CONN_LOG_CONFIG_ENABLED 0x002u /* Logging is configured */
@@ -558,32 +577,34 @@ struct __wt_connection_impl {
#define WT_CONN_SERVER_LSM 0x08u
#define WT_CONN_SERVER_STATISTICS 0x10u
#define WT_CONN_SERVER_SWEEP 0x20u
+#define WT_CONN_SERVER_TIERED 0x40u
/* AUTOMATIC FLAG VALUE GENERATION STOP */
uint32_t server_flags;
/* AUTOMATIC FLAG VALUE GENERATION START */
#define WT_CONN_CACHE_CURSORS 0x000001u
#define WT_CONN_CACHE_POOL 0x000002u
-#define WT_CONN_CKPT_SYNC 0x000004u
-#define WT_CONN_CLOSING 0x000008u
-#define WT_CONN_CLOSING_NO_MORE_OPENS 0x000010u
-#define WT_CONN_CLOSING_TIMESTAMP 0x000020u
-#define WT_CONN_COMPATIBILITY 0x000040u
-#define WT_CONN_DATA_CORRUPTION 0x000080u
-#define WT_CONN_EVICTION_RUN 0x000100u
-#define WT_CONN_FILE_CLOSE_SYNC 0x000200u
-#define WT_CONN_HS_OPEN 0x000400u
-#define WT_CONN_INCR_BACKUP 0x000800u
-#define WT_CONN_IN_MEMORY 0x001000u
-#define WT_CONN_LEAK_MEMORY 0x002000u
-#define WT_CONN_LSM_MERGE 0x004000u
-#define WT_CONN_OPTRACK 0x008000u
-#define WT_CONN_PANIC 0x010000u
-#define WT_CONN_READONLY 0x020000u
-#define WT_CONN_RECONFIGURING 0x040000u
-#define WT_CONN_RECOVERING 0x080000u
-#define WT_CONN_SALVAGE 0x100000u
-#define WT_CONN_WAS_BACKUP 0x200000u
+#define WT_CONN_CKPT_GATHER 0x000004u
+#define WT_CONN_CKPT_SYNC 0x000008u
+#define WT_CONN_CLOSING 0x000010u
+#define WT_CONN_CLOSING_NO_MORE_OPENS 0x000020u
+#define WT_CONN_CLOSING_TIMESTAMP 0x000040u
+#define WT_CONN_COMPATIBILITY 0x000080u
+#define WT_CONN_DATA_CORRUPTION 0x000100u
+#define WT_CONN_EVICTION_RUN 0x000200u
+#define WT_CONN_FILE_CLOSE_SYNC 0x000400u
+#define WT_CONN_HS_OPEN 0x000800u
+#define WT_CONN_INCR_BACKUP 0x001000u
+#define WT_CONN_IN_MEMORY 0x002000u
+#define WT_CONN_LEAK_MEMORY 0x004000u
+#define WT_CONN_LSM_MERGE 0x008000u
+#define WT_CONN_OPTRACK 0x010000u
+#define WT_CONN_PANIC 0x020000u
+#define WT_CONN_READONLY 0x040000u
+#define WT_CONN_RECONFIGURING 0x080000u
+#define WT_CONN_RECOVERING 0x100000u
+#define WT_CONN_SALVAGE 0x200000u
+#define WT_CONN_WAS_BACKUP 0x400000u
/* AUTOMATIC FLAG VALUE GENERATION STOP */
uint32_t flags;
};