mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-25 09:11:10 +00:00
An OOM failure while peeking into fragment, to determine if reader will produce any fragment, causes Scylla to abort as flat_mutation_reader expects reader to be closed before destroyed. Let's close it if peek() fails, to handle the scenario more gracefully. Fixes #10027. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20220204031553.124848-1-raphaelsc@scylladb.com>