Files
scylladb/tasks/task_manager.cc
Pavel Emelyanov cd7d9a63bc error_injection: Convert handler-style breakpoints to wait_for_message sugar
Replace verbose handler lambdas that only log and call
wait_for_message() with the equivalent one-liner breakpoint sugar.
The behavior is identical -- the sugar produces the same log messages
in the format "{name}: waiting for message" / "{name}: message received".

Update Python tests that waited for the old ad-hoc log messages to
match the new standardized format.

Converted injections:
 - topology_state_load_before_update_cdc (storage_service.cc)
 - migration_streaming_wait x2 (storage_service.cc)
 - pause_after_streaming_tablet (storage_service.cc)
 - cdc_generation_publisher_fiber (topology_coordinator.cc)
 - wait_after_tablet_cleanup (topology_coordinator.cc)
 - fast_orphan_removal_fiber (topology_coordinator.cc)
 - split_storage_groups_wait (table.cc)
 - wait_before_stop_compaction_groups (table.cc)
 - tasks_vt_get_children (task_manager.cc)
 - truncate_compaction_disabled_wait (database.cc)

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-26 15:01:01 +03:00

29 KiB