Files
scylladb/test/cluster/random_failures/error_injections.py
Emil Maskovsky 87bd328873 group0: remove obsolete "stop_before_becoming_raft_voter" error injection
The Raft topology workflow was changed by the limited voters feature:
nodes no longer request votership themselves. As a result, the
"stop_before_becoming_raft_voter" error injection is now obsolete and
has been removed.

Fixes: scylladb/scylladb#23418
2025-09-16 18:24:27 +02:00

40 lines
1.4 KiB
Python

#
# Copyright (C) 2024-present ScyllaDB
#
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
#
# - New items should be added to the end of the list
# - Items in the following list should not be rearranged or deleted
# - Items that are no longer needed should be marked as REMOVED_
ERROR_INJECTIONS = (
"stop_after_init_of_system_ks",
"stop_after_init_of_schema_commitlog",
"stop_after_starting_gossiper",
"stop_after_starting_migration_manager",
"stop_after_starting_commitlog",
"stop_after_starting_repair",
"stop_after_starting_cdc_generation_service",
"stop_after_starting_group0_service",
"stop_after_starting_auth_service",
"stop_during_gossip_shadow_round",
"stop_after_saving_tokens",
"stop_after_starting_gossiping",
"stop_after_sending_join_node_request",
"stop_after_setting_mode_to_normal_raft_topology",
"REMOVED_stop_before_becoming_raft_voter",
"stop_after_updating_cdc_generation",
"stop_before_streaming",
"stop_after_streaming",
"stop_after_bootstrapping_initial_raft_configuration",
)
# Error injections which can cause a node's hang due to some timeouts.
ERROR_INJECTIONS_NODE_MAY_HANG = (
"stop_after_sending_join_node_request",
"stop_after_updating_cdc_generation",
"stop_before_streaming",
"stop_after_streaming",
"stop_after_bootstrapping_initial_raft_configuration",
)