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