diff --git a/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs b/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs index 412c6c4d6..cce898664 100644 --- a/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs +++ b/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs @@ -316,6 +316,7 @@ impl IndexScheduler { .try_clone_inner_file() .map_err(|e| Error::from_milli(e, Some(name.to_string())))?; let mmap = unsafe { memmap2::Mmap::map(&file)? }; + mmap.advise(memmap2::Advice::Sequential)?; let mmap = bytes::Bytes::from_owner(mmap); let object = uuid.to_string();