Skip to content

Commit f4caafc

Browse files
ruby-oujoEvergreen Agent
authored andcommitted
Import wiredtiger: a9c02719fbef960e017ab03e789f6a947aaee5c1 from branch mongodb-master
ref: 3c55df6f10..a9c02719fb for: 7.2.0-rc0 WT-11765 Fix predictable replays not playing well with ops.throttling
1 parent 7ee79ef commit f4caafc

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

src/third_party/wiredtiger/import.data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"vendor": "wiredtiger",
33
"github": "wiredtiger/wiredtiger.git",
44
"branch": "mongodb-master",
5-
"commit": "3c55df6f1031d31fb8d382505a3755e7ea2145d6"
5+
"commit": "a9c02719fbef960e017ab03e789f6a947aaee5c1"
66
}

src/third_party/wiredtiger/test/format/CONFIG.coverage

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cache.minimum=20
44
checkpoints=1
55
leak_memory=0
66
mmap=1
7+
ops.throttle=0
78
runs.rows=1000000:5000000
89
runs.threads=4:32
910
runs.timer=15

src/third_party/wiredtiger/test/format/CONFIG.endian

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ cache.minimum=20
22
format.abort=0
33
logging.archive=0
44
logging=1
5+
ops.throttle=0
56
runs.timer=4
67
runs.rows=1000000

src/third_party/wiredtiger/test/format/CONFIG.replay

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ format.independent_thread_rng=1
1111
import=0
1212
ops.alter=0
1313
ops.compaction=0
14-
ops.truncate=0
1514
ops.salvage=0
15+
ops.throttle=0
16+
ops.truncate=0
1617
quiet=0
1718
runs.in_memory=0
1819
runs.mirror=0

src/third_party/wiredtiger/test/format/format_config.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,20 @@ config_run(void)
496496
REALLOC_MAX_TABLES);
497497
}
498498

499+
if (GV(RUNS_PREDICTABLE_REPLAY)) {
500+
/*
501+
* Predictable replays can get extremely slow with throttling.
502+
*
503+
* FIXME-WT-11782: Investigate why predictable replays get stuck with ops.throttling
504+
* enabled. It can indicate a bug in predictable replay or in WiredTiger.
505+
*/
506+
if (GV(OPS_THROTTLE)) {
507+
if (config_explicit(NULL, "ops.throttle"))
508+
WARN("%s", "turning off ops.throttle to work with predictable replay");
509+
config_single(NULL, "ops.throttle=0", false);
510+
}
511+
}
512+
499513
config_in_memory(); /* Periodically run in-memory. */
500514

501515
tables_apply(config_table, NULL); /* Configure the tables. */

0 commit comments

Comments
 (0)