mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 09:00:35 +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>