Skip to content

Commit

Permalink
fix(nemesis): skip truncate large partition nemesis with zero node
Browse files Browse the repository at this point in the history
due to scylladb/scylladb#20356, need to skip nemesis
disuprt_truncate_large_partition nemesis, because it use
hardcoded scylla-bench command with autoresize rf

Number of nodes in DC increased, this allow to safely
decommission node with tablets feature enabled
  • Loading branch information
aleksbykov authored and fruch committed Nov 25, 2024
1 parent 481ebee commit f5ad446
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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'
n_loaders: '1 1'
n_monitor_nodes: 1
n_db_zero_token_nodes: '0 1 1'
Expand Down

0 comments on commit f5ad446

Please sign in to comment.