Skip to content

Commit

Permalink
fix(get_non_system_ks_cf_list): Filter out 'audit' keyspace
Browse files Browse the repository at this point in the history
	'audit' is a system keyspace that wasn't filtered so
	nemesis selected it mistakingly as a user keyspace.
	Fixes: scylladb#5963
  • Loading branch information
yarongilor authored and fruch committed Apr 17, 2023
1 parent 1d1819c commit 24a86c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdcm/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3564,7 +3564,7 @@ def execute_cmd(cql_session, entity_type):
for row in current_rows:
table_name = f"{getattr(row, column_names[0])}.{getattr(row, column_names[1])}"

if filter_out_system and getattr(row, column_names[0]).startswith(("system", "alternator_usertable")):
if filter_out_system and getattr(row, column_names[0]).startswith(("system", "alternator_usertable", "audit")):
continue

if is_column_type and (filter_out_table_with_counter and "counter" in row.type):
Expand Down

0 comments on commit 24a86c9

Please sign in to comment.