Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2024.2] fix(nemesis): skip truncate large partition nemesis with zero node #9366

Draft
wants to merge 1 commit into
base: branch-2024.2
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdcm/nemesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,10 @@ def disrupt_truncate_large_partition(self):
it's used to cover one improvement of compaction.
The increase frequency of checking abortion is very useful for truncate.
"""
if (SkipPerIssues(issues="https://github.com/scylladb/scylladb/issues/20356",
params=self.tester.params)
and self.tester.params.get("use_zero_nodes")):
raise UnsupportedNemesis("Unsupported nemesis due to scylladb/scylladb#20356")
ks_name = 'ks_truncate_large_partition'
table = 'test_table'
stress_cmd = "scylla-bench -workload=sequential -mode=write -replication-factor=3 -partition-count=10 " + \
Expand Down
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: '4 4 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'
Loading