summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-11-21 14:15:46 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-21 03:50:47 +0000
commit1255f157c1485246bc9f877a953ba2324cab1a29 (patch)
tree8ba845c4546260fb815cec38253ca0a97e64cbe1
parentddbe563959fd5777d3cc6e0ed16859a24233fee4 (diff)
downloadmongo-1255f157c1485246bc9f877a953ba2324cab1a29.tar.gz
Import wiredtiger: 5eee10d1ceb365e632cdb355612b62eff1ab1b93 from branch mongodb-6.2
ref: 7559c709cc..5eee10d1ce for: 6.2.0-rc2 WT-10137 Create a feature flag to enable/disable stats in page header
-rw-r--r--src/third_party/wiredtiger/import.data2
-rw-r--r--src/third_party/wiredtiger/src/include/connection.h1
-rw-r--r--src/third_party/wiredtiger/src/support/global.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data
index c72b8b9dd61..f4b9be0fd94 100644
--- a/src/third_party/wiredtiger/import.data
+++ b/src/third_party/wiredtiger/import.data
@@ -2,5 +2,5 @@
"vendor": "wiredtiger",
"github": "wiredtiger/wiredtiger.git",
"branch": "mongodb-6.2",
- "commit": "7559c709ccc03ce9c0e6538e421aadd61f650990"
+ "commit": "5eee10d1ceb365e632cdb355612b62eff1ab1b93"
}
diff --git a/src/third_party/wiredtiger/src/include/connection.h b/src/third_party/wiredtiger/src/include/connection.h
index 3ea5487522e..629088c2aab 100644
--- a/src/third_party/wiredtiger/src/include/connection.h
+++ b/src/third_party/wiredtiger/src/include/connection.h
@@ -28,6 +28,7 @@ struct __wt_process {
bool use_epochtime; /* use expensive time */
bool fast_truncate_2022; /* fast-truncate fix run-time configuration */
+ bool page_stats_2022; /* Page stats run-time configuration */
WT_CACHE_POOL *cache_pool; /* shared cache information */
diff --git a/src/third_party/wiredtiger/src/support/global.c b/src/third_party/wiredtiger/src/support/global.c
index 720e6dcd5fc..f19981eff08 100644
--- a/src/third_party/wiredtiger/src/support/global.c
+++ b/src/third_party/wiredtiger/src/support/global.c
@@ -127,6 +127,7 @@ __global_once(void)
/* Run-time configuration. */
#ifdef WT_STANDALONE_BUILD
__wt_process.fast_truncate_2022 = true;
+ __wt_process.page_stats_2022 = false;
#endif
}