-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(nemesis): Nemesises to work with zero nodes
Add new nemesises: - Add remove zero nodes to cluster - Set kill scylla to run on both data and zero nodes - update terminate and replace to run for data or zero node respectively Add new config yamls and new job to run multidc config with zero nodes
- Loading branch information
1 parent
a58de1b
commit efd670d
Showing
6 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nemesis_class_name: 'ZeroTokenSetMonkey' | ||
use_zero_nodes: true | ||
zero_token_instance_type_db: 'i4i.large' |
3 changes: 3 additions & 0 deletions
3
configurations/zerotoken_nodes/zerotoken_node_i4ilarge_1_num_single_dc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
n_db_zero_token_nodes: 1 | ||
zero_token_instance_type_db: 'i4i.large' | ||
use_zero_nodes: true |
11 changes: 11 additions & 0 deletions
11
jenkins-pipelines/oss/longevity/longevity-multi-dc-rack-aware-with-znode-dc.jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!groovy | ||
|
||
// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43 | ||
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm) | ||
|
||
longevityPipeline( | ||
backend: 'aws', | ||
region: '''["eu-west-1", "eu-west-2", "eu-north-1"]''', | ||
test_name: 'longevity_test.LongevityTest.test_custom_time', | ||
test_config: '''["test-cases/longevity/longevity-multi-dc-rack-aware-with-znode-in-diff_dc.yaml"]''', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
test-cases/longevity/longevity-multi-dc-rack-aware-with-znode-in-diff_dc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
test_duration: 800 | ||
|
||
prepare_write_cmd: ["cassandra-stress write cl=LOCAL_QUORUM n=20971520 -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3,eu-northscylla_node_north=0) compaction(strategy=SizeTieredCompactionStrategy)' -port jmx=6868 -mode cql3 native -rate threads=80 -pop seq=1..20971520 -col 'n=FIXED(10) size=FIXED(512)' -log interval=5", | ||
] | ||
|
||
stress_cmd: ["cassandra-stress write cl=LOCAL_QUORUM duration=720m -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3,eu-northscylla_node_north=0) compaction(strategy=SizeTieredCompactionStrategy)' -port jmx=6868 -mode cql3 native -rate threads=40 -pop 'dist=uniform(1..20971520)' -col 'n=FIXED(10) size=FIXED(512)' -log interval=5 -errors retries=50", | ||
"cassandra-stress read cl=LOCAL_QUORUM duration=720m -schema 'replication(strategy=NetworkTopologyStrategy,replication_factor=3,eu-northscylla_node_north=0) compaction(strategy=SizeTieredCompactionStrategy)' -port jmx=6868 -mode cql3 native -rate threads=40 -pop 'dist=uniform(1..20971520)' -col 'n=FIXED(10) size=FIXED(512)' -log interval=5 -errors retries=50", | ||
] | ||
|
||
n_db_nodes: '3 3 0' | ||
n_loaders: '1 1' | ||
n_monitor_nodes: 1 | ||
n_db_zero_token_nodes: '0 1 1' | ||
|
||
instance_type_db: 'i4i.4xlarge' | ||
zero_token_instance_type_db: 'i4i.large' | ||
use_zero_nodes: true | ||
|
||
nemesis_class_name: 'SisyphusMonkey' | ||
nemesis_interval: 10 | ||
nemesis_filter_seeds: false | ||
|
||
round_robin: false | ||
|
||
user_prefix: 'multi-dc-rackaware-with-znode-dc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters