Revert "commitlog: close replay file"

This reverts commit 7647acd201.
This commit is contained in:
Pekka Enberg
2016-12-13 09:47:38 +02:00
parent 55dc520405
commit a68721f67b

View File

@@ -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<char> buf) {