mirror of
https://github.com/qdrant/qdrant.git
synced 2026-09-21 13:37:46 -05:00
schedule_open returns nothing (#10355)
This commit is contained in:
@@ -61,14 +61,14 @@ fn index_open_options(populate: Populate) -> OpenOptions {
|
||||
/// (mmap).
|
||||
pub fn preopen(fs: &impl CachedReadFs, path: &Path, populate: Populate) -> UioResult<()> {
|
||||
// Config
|
||||
fs.schedule_open(&index_config_file_path(path), None, None)?;
|
||||
fs.schedule_open(&index_config_file_path(path), None, None);
|
||||
|
||||
// Index data
|
||||
fs.schedule_open(
|
||||
&index_file_path(path),
|
||||
Some(index_open_options(populate)),
|
||||
None,
|
||||
)?;
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user