mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 04:06:59 +00:00
" Make sure to close sstable files also on error paths. Refs #5509 Fixes #6448 Tests: unit (dev) " * tag 'sstable-close-files-on-error-v6' of github.com:bhalevy/scylla: sstable: file_writer: auto-close in destructor sstable: file_writer: add optional filename member sstable: add make_component_file_writer sstable: remove_by_toc_name: accept std::string_view sstable: remove_by_toc_name: always close file and input stream sstable: delete_sstables: delete outdated FIXME comment sstable: remove_by_toc_name: drop error_handler parameter sstable: remove_by_toc_name: make static sstable: read_toc: always close file sstable: mark read_toc and methods calling it noexcept sstable: read_toc: get rid of file_path sstable: open_data, create_data: set member only on success. sstable: open_file: mark as noexcept sstable: new_sstable_component_file: make noexcept sstable: new_sstable_component_file: close file on failure sstable: rename_new_sstable_component_file: do not pass file sstable: open_sstable_component_file_non_checked: mark as noexcept sstable: open_integrity_checked_file_dma: make noexcept sstable: open_integrity_checked_file_dma: close file on failure