Files
scylladb/test/cluster/random_failures/error_injections.py
Andrzej Jackowski 78926d9c96 test/random_failures: remove gossip shadow round injection
Commit c17c4806a1 removed check_for_endpoint_collision() from
the fresh bootstrap path, which was the only code path that
called do_shadow_round() for new nodes. Since the gossip shadow
round is no longer executed during bootstrap, remove the
stop_during_gossip_shadow_round error injection from the test.

The entry is marked as REMOVED_ rather than deleted to preserve
the shuffle order for seed-based test reproducibility.

The injection point in gms/gossiper.cc is also removed since it
is no longer used by any test.

Fixes: SCYLLADB-1466

Closes scylladb/scylladb#29460
2026-04-15 16:30:55 +02:00

41 lines
1.5 KiB
Python

#
# Copyright (C) 2024-present ScyllaDB
#
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
#
# - 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",
# do_shadow_round() is no longer called during fresh bootstrap since c17c4806a1
"REMOVED_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",
)