schedule_open returns nothing (#10355)

This commit is contained in:
Luis Cossío
2026-08-31 12:35:51 -04:00
committed by GitHub
parent 2279c4a79b
commit e9cc3b8673
47 changed files with 165 additions and 250 deletions
@@ -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(())
}