[SERVER-30677] Run the concurrency suite with CSRS primary stepdowns Created: 16/Aug/17  Updated: 30/Oct/23  Resolved: 11/Sep/17

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

Type: Task 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
depends on SERVER-30676 Add support for stepdown options to t... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-09-11, Sharding 2017-10-02
Participants:

 Description   

New resmoke.py YAML suites and Evergreen tasks should be defined to run the concurrency suite with CSRS primary stepdowns both when the balancer is enabled and when the balancer is not enabled. The reason to define them as separate test suites and Evergreen tasks is because that's ultimately the model we'll have once we move away from the concurrency framework having a JavaScript file to run other JavaScript files. Additionally, we'll avoid increasing the duration of the existing concurrency_sharded and concurrency_sharded_WT tasks (see SERVER-27858).

concurrency_sharded_with_stepdowns.yml

test_kind: js_test
 
selector:
  roots:
  - jstests/concurrency/fsm_all_sharded_with_stepdowns.js
 
# Concurrency tests that run against a sharded cluster start one themselves.
executor:
  config:
    shell_options:
      nodb: ''
      readMode: commands

The jstests/concurrency/fsm_all_sharded_with_stepdowns.js and jstests/concurrency/fsm_all_sharded_with_stepdowns_and_balancer.js files should be adapted from jstests/concurrency/fsm_all_sharded_replication.js and jstests/concurrency/fsm_all_sharded_replication_with_balancer.js, respectively. The main difference between these files will be to specify

{
  sharded: {enabled: true, stepdownOptions: {configStepdown: true, shardStepdown: false}},
  replication: {enabled: true}
}

as the cluster options.

Note: These JavaScript files should be excluded from all other concurrency*.yml test suites.

Names of new resmoke.py YAML suites
  • concurrency_sharded_with_stepdowns.yml
  • concurrency_sharded_with_stepdowns_and_balancer.yml
Names of new Evergreen tasks
  • concurrency_sharded_with_stepdowns
  • concurrency_sharded_with_stepdowns_WT
  • concurrency_sharded_with_stepdowns_and_balancer
  • concurrency_sharded_with_stepdowns_and_balancer_WT

The new Evergreen tasks should be run on the following build variants:

  • Enterprise RHEL 6.2
  • Enterprise RHEL 6.2 (inMemory)
  • Windows 2008R2 DEBUG
  • SSL OS X 10.10
  • ASAN Enterprise SSL Ubuntu 16.04 DEBUG
  • UBSAN Enterprise Ubuntu 16.04 DEBUG
  • Enterprise RHEL 6.2 DEBUG Code Coverage


 Comments   
Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

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

Message:SERVER-30677 Run the concurrency suite with CSRS primary stepdowns
Branch:master
https://github.com/mongodb/mongo/commit/1db33f3a391f5f92a898ab5c7a7cc6246d4e36b3

Comment by Ramon Fernandez Marina [ 11/Sep/17 ]

Author:

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

Message:SERVER-30677 Run the concurrency suite with CSRS primary stepdowns

This reverts commit f4ea5f9b033bc800d5290b922848e8dfeede37f4.
Branch:master
https://github.com/mongodb/mongo/commit/8920682cea1dbfabda3b6e6144597dab17128b8c

Comment by Ramon Fernandez Marina [ 11/Sep/17 ]

Author:

{'username': u'nathan-myers-mongo', 'name': u'Nathan Myers', 'email': u'ncm@cantrip.org'}

Message:Revert "SERVER-30677 Run the concurrency suite with CSRS primary stepdowns"

This reverts commit 1db33f3a391f5f92a898ab5c7a7cc6246d4e36b3.

Concurrent runs on "! Windows 2008R2 DEBUG" are failing.
Branch:master
https://github.com/mongodb/mongo/commit/f4ea5f9b033bc800d5290b922848e8dfeede37f4

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