summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenhao Qu <chenhao.qu@mongodb.com>2021-04-07 11:35:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-07 12:05:17 +0000
commit5a2000543b6a3432b4d538b47ae54884022336f0 (patch)
treefa04260f5c3a89a357d94f8917eb361d20f270cf
parent139f2776f50b9c324ac91f75d6cd2c5f18bbf380 (diff)
downloadmongo-5a2000543b6a3432b4d538b47ae54884022336f0.tar.gz
Import wiredtiger: 745bba38f7ee8ea3659c24ca00dde999849b065d from branch mongodb-5.0
ref: 10be8da8e4..745bba38f7 for: 5.0.0 WT-7380 Fix wiredtiger connection string to clear statistics
-rw-r--r--src/third_party/wiredtiger/bench/workgen/runner/many-dhandle-stress.py2
-rw-r--r--src/third_party/wiredtiger/bench/wtperf/runners/many-dhandle-stress.wtperf2
-rw-r--r--src/third_party/wiredtiger/import.data2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/bench/workgen/runner/many-dhandle-stress.py b/src/third_party/wiredtiger/bench/workgen/runner/many-dhandle-stress.py
index 7fae0f9799d..9d131c16148 100644
--- a/src/third_party/wiredtiger/bench/workgen/runner/many-dhandle-stress.py
+++ b/src/third_party/wiredtiger/bench/workgen/runner/many-dhandle-stress.py
@@ -38,7 +38,7 @@ sample_rate=1
context = Context()
conn_config = ""
-conn_config += ",cache_size=10G,eviction=(threads_min=4,threads_max=4),file_manager=(close_idle_time=30),session_max=1000" # explicitly added
+conn_config += ",cache_size=10G,eviction=(threads_min=4,threads_max=4),file_manager=(close_idle_time=30),session_max=1000,statistics=[all,clear],statistics_log=(wait=1,json=false,on_close=true)" # explicitly added
conn = context.wiredtiger_open("create," + conn_config)
s = conn.open_session("")
diff --git a/src/third_party/wiredtiger/bench/wtperf/runners/many-dhandle-stress.wtperf b/src/third_party/wiredtiger/bench/wtperf/runners/many-dhandle-stress.wtperf
index 160cc429896..2c6e13a486c 100644
--- a/src/third_party/wiredtiger/bench/wtperf/runners/many-dhandle-stress.wtperf
+++ b/src/third_party/wiredtiger/bench/wtperf/runners/many-dhandle-stress.wtperf
@@ -1,7 +1,7 @@
# This workload uses several tens of thousands of tables and the workload is evenly distributed
# among them. The workload creates, opens and drop tables, and it generates warning if the time
# taken is more than the configured max_idle_table_cycle.
-conn_config="cache_size=10G,eviction=(threads_min=4,threads_max=4),file_manager=(close_idle_time=30),session_max=1000"
+conn_config="cache_size=10G,eviction=(threads_min=4,threads_max=4),file_manager=(close_idle_time=30),session_max=1000,statistics=[all,clear],statistics_log=(wait=1,json=false,on_close=true)"
table_config="type=file"
table_count=15000
max_idle_table_cycle=2
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data
index 6910fab1773..0ebfe15b48c 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-5.0",
- "commit": "10be8da8e4ca4fb766a88916cef6476cb42de700"
+ "commit": "745bba38f7ee8ea3659c24ca00dde999849b065d"
}