mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 10:00:35 +00:00
Revert "Revert "commitlog: use read ahead for replay requests""
This reverts commit 13eb7a6213.
This commit is contained in:
@@ -1561,7 +1561,7 @@ db::commitlog::read_log_file(file f, commit_load_reader_func next, position_type
|
||||
file_input_stream_options make_file_input_stream_options() {
|
||||
file_input_stream_options fo;
|
||||
fo.buffer_size = db::commitlog::segment::default_size;
|
||||
fo.read_ahead = 0;
|
||||
fo.read_ahead = 10;
|
||||
fo.io_priority_class = service::get_local_commitlog_priority();
|
||||
return fo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user