[SERVER-30680] Add support for session options to the concurrency framework Created: 16/Aug/17  Updated: 30/Oct/23  Resolved: 05/Sep/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.13

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: sharding36-passthrough-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-30681 Run the concurrency suite with causal... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-09-11
Participants:

 Description   

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: {}});



 Comments   
Comment by Githook User [ 05/Sep/17 ]

Author:

{'username': 'jsmulrow', 'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com'}

Message: SERVER-30680 Add support for session options to the concurrency framework
Branch: master
https://github.com/mongodb/mongo/commit/e51c6a85d217454b39236bbe97bc62290960f5b2

Generated at Thu Feb 08 04:24:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.