From a68721f67bace117e25dc2cdc38fc109365252fb Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 13 Dec 2016 09:47:38 +0200 Subject: [PATCH] Revert "commitlog: close replay file" This reverts commit 7647acd201b3ef199c033b3274cdb86690a6127a. --- db/commitlog/commitlog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/commitlog/commitlog.cc b/db/commitlog/commitlog.cc index 87f7052f72..fbcd979063 100644 --- a/db/commitlog/commitlog.cc +++ b/db/commitlog/commitlog.cc @@ -1601,7 +1601,7 @@ db::commitlog::read_log_file(file f, commit_load_reader_func next, position_type } future<> stop() { eof = true; - return fin.close(); + return make_ready_future<>(); } future<> read_header() { return fin.read_exactly(segment::descriptor_header_size).then([this](temporary_buffer buf) {