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

fix(nemesis): skip truncate large partition nemesis with zero node #9342

Merged
merged 1 commit into from
Nov 25, 2024
Merged
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 @@ -2109,6 +2109,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
Expand Up @@ -7,7 +7,7 @@ stress_cmd: ["cassandra-stress write cl=LOCAL_QUORUM duration=720m -schema 'repl
"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_db_nodes: '4 4 0'
fruch marked this conversation as resolved.
Show resolved Hide resolved
n_loaders: '1 1'
n_monitor_nodes: 1
n_db_zero_token_nodes: '0 1 1'
Expand Down
Loading