|
The concurrency framework uses ScopedThread in worker_thread.js to run a single copy of an FSM workload against the MongoDB deployment. Each FSM worker thread has its own connection to the cluster. We should configure the connections that the FSM worker threads use to start a new session with specific options.
Note: While the changes should be tested locally and in an Evergreen patch build with something a patch similar to the following, the actual work to add new resmoke.py YAML suites and Evergreen tasks for running under this configuration will happen under a follow-up SERVER ticket.
diff --git a/jstests/concurrency/fsm_all_sharded_replication.js b/jstests/concurrency/fsm_all_sharded_replication.js
|
index 66de8c45ff..7d272412ea 100644
|
--- a/jstests/concurrency/fsm_all_sharded_replication.js
|
+++ b/jstests/concurrency/fsm_all_sharded_replication.js
|
@@ -99,4 +99,5 @@ var blacklist = [
|
runWorkloadsSerially(ls(dir).filter(function(file) {
|
return !Array.contains(blacklist, file);
|
}),
|
- {sharded: {enabled: true}, replication: {enabled: true}});
|
+ {sharded: {enabled: true}, replication: {enabled: true}},
|
+ {sessionOptions: {}});
|
|