Files
scylladb/compaction/task_manager_module.cc
Aleksandra Martyniuk 20f55ea1b8 compaction: handle exception in expected_total_workload
expected_total_workload methods of scrub compaction tasks create
a vector of table_info based on table names. If any table was already
dropped, then the exception is thrown. It leaves table_info in corrupted
state and node crashes with `free(): invalid size`.

Return std::nullopt if an exception was thrown to indicate that
total workload cannot be found.

Fixes: #25941.
2025-09-10 12:13:37 +02:00

46 KiB