mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
If an exception is throws in `consume` before write_memtable_to_sstable is called or if the latter fails, we must close the reader passed to it. Fixes #11075 Signed-off-by: Benny Halevy <bhalevy@scylladb.com>