mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
@@ -2598,10 +2598,7 @@ impl DiskAPI for LocalDisk {
|
||||
}
|
||||
|
||||
// Fallback to direct read if cache fails
|
||||
let (data, _) = self.read_metadata_with_dmtime(&file_path).await.map_err(|e| {
|
||||
error!("read_metadata: error: {:?}, file_path={}", e, file_path.to_string_lossy());
|
||||
e
|
||||
})?;
|
||||
let (data, _) = self.read_metadata_with_dmtime(&file_path).await?;
|
||||
Ok(data.into())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2998,7 +2998,7 @@ impl SetDisks {
|
||||
if this_part_errs[index] != CHECK_PART_SUCCESS {
|
||||
info!(
|
||||
"reading part {}: index={}, part_errs={:?}, skipping",
|
||||
part.number, index, this_part_errs[part_index]
|
||||
part.number, index, this_part_errs[index]
|
||||
);
|
||||
readers.push(None);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user