Commit Graph

70 Commits

Author SHA1 Message Date
wolfee c71029d2bd SERVER-110665 Set cluster parameters periodically at runtime in config fuzzer (#42938)
GitOrigin-RevId: eb465b8a665a2745b0af9ffdecf1165ca62ebb0b
2025-10-22 18:30:03 +00:00
Cheahuychou Mao 729c097f95 SERVER-112211 Add js override for retrying resharding on snapshot related errors due to initial sync (#42458)
GitOrigin-RevId: 7030aea534ba4a6f3dedf61d0f977896e0514346
2025-10-10 15:17:14 +00:00
Yujin Kang Park b111fdc273 SERVER-110663 Fix FSM worker thread print override (#41158)
GitOrigin-RevId: f1a2368ca8445ab67d5e0df263f2f56560c62520
2025-09-29 10:48:27 +00:00
Steve McClure 1ffbc6c2e9 SERVER-109432: Autofix JS var usage to favor let (#40637)
GitOrigin-RevId: 9674b7db36a0f3f650d39c1e3fb2ad6ff2141cfb
2025-08-28 19:21:01 +00:00
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Igor Praznik 70678b041e SERVER-104980 Add import of implicitly_retry_crud_on_no_progress_made.js into worker_thread.js (#36005)
GitOrigin-RevId: d1a0639c6d88e4ba9c4385e11caffa8266682154
2025-05-19 11:28:31 +00:00
Silvia Surroca c3a92a7f8f SERVER-102964 Enable tests with getMore on balancer suites (#34797)
Co-authored-by: wolfee <adam.farkas@mongodb.com>
GitOrigin-RevId: e3ecb1a24de65149becb29d4791ab65ef766b47d
2025-05-07 08:32:46 +00:00
Felipe Gasper 665eafa69f SERVER-100637 Run fsmPreOverridesLoadedCallback as an async function. (#32622)
GitOrigin-RevId: bcdc61705bb7371872c2238613cf00aaaa41431e
2025-04-30 15:18:44 +00:00
Damian Wasilewicz 7c21b298e0 SERVER-100525: Audit unowned files for StorEx ownership (#34306)
GitOrigin-RevId: 617c7c11b17462c3ae24a23d22a9e2374cf191e6
2025-04-10 04:44:12 +00:00
Daniel Tabacaru e183d2ae54 SERVER-101407 Fix tests which fail on resmoke's --logFormat default change - part 1 (#33106)
GitOrigin-RevId: ca57997224b14d8d02189962e7307079ff6c185f
2025-04-09 23:30:22 +00:00
kshitij 26d00af41d SERVER-95375: FSM runner exit early if a thread fails. (#27644)
GitOrigin-RevId: 3b19c89d2b7a4e82e5d442761ab907e653830619
2024-10-01 15:53:47 +00:00
Robert Sander 46ca3997d0 SERVER-89866 Add testing suite for removeShard catalog metadata checks (#23154)
GitOrigin-RevId: 5e4ee93dddada39fd1722af56cd599ff2d502d3a
2024-07-01 15:33:58 +00:00
Jack Mulrow c53cf5e861 SERVER-89182 Enable concurrency suite with background config shard transitions
GitOrigin-RevId: 08be2c8820d66cef838fda317475949ea7bdd13a
2024-04-25 23:01:33 +00:00
Cheahuychou Mao d80fba7ab1 SERVER-87846 Add concurrency_replication suites with replica set endpoint enabled (#20382)
GitOrigin-RevId: 80adfd256dd70ed903f84f4f8985a832355bfdcd
2024-03-28 03:49:38 +00:00
Sophia Tan 3c7c950266 SERVER-83689 Set tenant id on FSM work threads for FSM multitenancy test 2023-11-30 01:03:43 +00:00
Yuhong Zhang e7dc7c9e23 SERVER-81867 Remove concurrency assert helpers from jstests 2023-10-12 14:59:33 +00:00
seanzimm 3120daebe8 SERVER-81542: Log tid in message within fsm workers 2023-10-09 19:15:13 +00:00
Matt Broadstone 71ac129838 SERVER-81007 Forward errors thrown in async run callbacks 2023-09-21 00:22:15 +00:00
auto-revert-processor af35a65ffc Revert "SERVER-81007 Forward errors thrown in async run callbacks"
This reverts commit 989dae8449.
2023-09-20 21:47:13 +00:00
Matt Broadstone 989dae8449 SERVER-81007 Forward errors thrown in async run callbacks 2023-09-20 13:51:16 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Matt Broadstone 8a41cf72c5 SERVER-79606 Convert validate collections hook to module 2023-08-04 16:39:04 +00:00
Matt Broadstone 1ce8128b8b SERVER-78419 Convert FSM to load workloads as modules 2023-06-29 12:14:53 +00:00
Jordi Serra Torrens 411e11d88e SERVER-74994 Kill FSM worker thread sessions at the end of their execution 2023-03-20 17:46:29 +00:00
Moustafa Maher Khalil 6d72db262a SERVER-72011 Add the ability to load js files to fsm worker threads 2022-12-12 19:04:19 +00:00
Benety Goh c6121c48d3 SERVER-38961 remove override for causally consistent index builds 2020-05-03 22:53:51 +00:00
Max Hirschhorn 5eeb095501 SERVER-42192 Enable moveChunk FSM workloads to run in stepdown suites.
Adds automatic retry logic to ChunkHelper.moveChunk() to handle when the
CSRS or replica set shard primary being killed, terminated, or stepped
down leads to the moveChunk command being interrupted.

Exposes replica set connections as part of the "connection cache" so
that DBClientRS may be used to track the current primary of the CSRS or
replica set shard.

Introduces an fsm.forceRunningOutsideTransaction() utility function to
prevent a state function from running inside a multi-statement
transaction as part of the concurrency_*_multi_stmt_txn*.yml test
suites.
2020-03-12 04:48:36 +00:00
Mathew Robinson ef9f9b461e
SERVER-41177 Remove Javascript ScopedThread class 2019-08-12 17:28:18 -04:00
clang-format-7.0.1 134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Judah Schvimer 5ab3575979 SERVER-38937 unify txn override and auto retry on network error 2019-04-04 11:03:50 -04:00
Louis Williams e12dcc7fdb SERVER-37270 Remove foreground index builds by default 2019-01-17 11:35:32 -05:00
Jack Mulrow 53d8b294b8 SERVER-38026 Run concurrency_replication_multi_stmt_txn.yml against sharded collections 2018-12-16 21:34:14 -05:00
Max Hirschhorn f45a68e589 SERVER-35160 Allow TestData to be undefined in worker_thread.js again.
The global TestData object is `undefined` when the backup_restore*.js
tests run FSM workloads against their own replica set.

This partially reverts some of the changes to worker_thread.js from
fdf3ac3da5.
2018-09-11 12:57:46 -04:00
Jonathan Abrahams fdf3ac3da5 SERVER-35160 ScopedThreads should automatically inherit TestData from their parent thread 2018-09-05 15:47:58 -04:00
Mark Benvenuto 558a8edc94 SERVER-35309 CamelCase appName in connection strings 2018-06-06 14:35:45 -04:00
Xiangyu Yao 73cf3829a0 SERVER-32883 Add concurrency_replication_causal_consistency suite 2018-05-23 18:01:13 -04:00
Robert Guo 39622745cd SERVER-19630 allow FSM tests to connect to an existing cluster 2018-04-30 09:56:57 -04:00
Xiangyu Yao 8c8f30175f SERVER-34383 Add secondary reads FSM test 2018-04-29 23:43:27 -04:00
David Bradford 3059d7f2f1 SERVER-32095: Include tid when establishing a connection to MongoDB deployment in concurrency suite 2018-03-06 09:10:18 -05:00
Max Hirschhorn fdc23cf6a5 SERVER-33219 Add backpressure to CRUD client in backup_restore.js.
Also fixes the FSM client by changing the concurrency suite to handle
when TestData isn't defined.
2018-02-09 16:22:47 -05:00
Jack Mulrow 876f24aefb SERVER-31198 Run the concurrency suite with shard stepdowns 2018-01-03 14:35:12 -05:00
Jonathan Abrahams 6011073098 SERVER-31807 Add Powercycle task using writeConcern {w: "majority"} 2017-11-08 21:24:18 -05:00
Max Hirschhorn 6d8e6b9cce SERVER-31296 Update sessions, causal, and retryable in the mongo shell.
* Removes the initialClusterTime and initialOperationTime session
    options.

  * Enables causal consistency by default when using an explicit
    session.

  * Adds a --retryWrites command line option to the mongo shell for
    enabling retryable writes in the mongo shell. The retryWrites
    options to SessionOptions is left for convenience with testing.

  * Renames setClusterTime() to advanceClusterTime(), and adds a
    corresponding advanceOperationTime() method to DriverSession.

  * Enables assigning transaction numbers for write commands where
    ordered=false.

  * Prevents the mongo shell from sending afterClusterTime or assigning
    transaction numbers when talking to a stand-alone mongod.

  * Prevents the mongo shell from assigning transaction numbers when
    using an unacknowledged (w=0) writeConcern.

  * Changes DBClientRS to re-discover the current primary of the replica
    set when it receives an error code representing "not master" in
    addition to an error message representing "not master".

  * Adds a shellPrint() pretty-printer for SessionOptions and
    DriverSession instances so they no longer print out their entire
    object definition.
2017-11-08 19:29:28 -05:00
Max Hirschhorn 0ed1b71a50 SERVER-31456 Set initial{Cluster,Operation}Time in concurrency suite.
Ensures that the FSM worker threads are guaranteed to observe the
effects of the $config.setup() function being called since they'll
specify an afterClusterTime beyond that point.
2017-10-14 21:54:02 -04:00
Max Hirschhorn 0195f34a7a SERVER-30679 Integrate causallyConsistentReads into SessionOptions. 2017-09-20 14:15:00 -04:00
Jack Mulrow 86f4e79553 SERVER-30912 Use session in concurrency suites with SessionOptions 2017-09-19 10:29:48 -04:00
Jack Mulrow 1d4dd376ce SERVER-30682 Run the concurrency suite with "secondary" read preference
Previously committed with an incorrect SERVER ticket number.
2017-09-15 10:49:09 -04:00
Jack Mulrow cbfcf83f39 Revert "SERVER-30862 Run the concurrency suite with "secondary" read preference"
This reverts commit 6dded939c1.
2017-09-15 10:48:36 -04:00
Jack Mulrow 6dded939c1 SERVER-30862 Run the concurrency suite with "secondary" read preference 2017-09-15 10:38:31 -04:00
Jack Mulrow b995f10149 SERVER-30681 Run the concurrency suite with causal consistency enabled 2017-09-04 17:46:49 -04:00