view_builder: stop: close all build_step readers
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -1411,6 +1411,10 @@ future<> view_builder::stop() {
|
||||
// ignored
|
||||
}).handle_exception_type([] (const semaphore_timed_out&) {
|
||||
// ignored
|
||||
}).finally([this] {
|
||||
return parallel_for_each(_base_to_build_step, [] (std::pair<const utils::UUID, build_step>& p) {
|
||||
return p.second.reader.close();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user