mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 03:45:11 +00:00
`sstable_directory::process_sstables_dir` may hit an exception when calling `handle_component`. In this case we currently destroy the `sstable_dir_lister` variable without closing the `directory_lister` first - leading to terminate in `~directory_lister` as seen in #10697. This mini-series handles this exception and always closes the `directory_lister`. Add unit test to reproduce this issue. Fixes #10697 Closes #10754 * github.com:scylladb/scylla: sstable_directory: process_sstable_dir: fixup indentation sstable_directory: process_sstable_dir: close directory_lister on error