Files
scylladb/db/view
Yauheni Khatsianevich 02539bc4f4 view: close readers in make_view_update_builder() on initialize() failure
If view_update_builder::initialize() throws (e.g. due to permit timeout
under I/O pressure), the coroutine frame is destroyed and the builder's
default destructor runs. Since mutation_reader requires an explicit
close() before destruction, ~mutation_reader() calls abort().

Add a try-catch around co_await builder.initialize() that calls
builder.close() before rethrowing. This ensures readers are properly
closed on all error paths.

Fixes: SCYLLADB-2325

Closes scylladb/scylladb#30203
2026-06-03 23:24:44 +03:00
..
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00