Skip to content

Commit 9d91f4f

Browse files
committed
[DEBUG] cubestore LocalDirRemoteFs vs mountpoints
1 parent 3bfdb1c commit 9d91f4f

File tree

1 file changed

+2
-1
lines changed
  • rust/cubestore/cubestore/src/remotefs

1 file changed

+2
-1
lines changed

rust/cubestore/cubestore/src/remotefs/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl RemoteFs for LocalDirRemoteFs {
225225
))
226226
})?;
227227
debug!("Copy {temp_upload_path} => {}", dest.display());
228-
fs::copy(&temp_upload_path, dest.clone())
228+
let copy_res = fs::copy(&temp_upload_path, dest.clone())
229229
.await
230230
.map_err(|e| {
231231
CubeError::internal(format!(
@@ -235,6 +235,7 @@ impl RemoteFs for LocalDirRemoteFs {
235235
e
236236
))
237237
})?;
238+
debug!("Copied {copy_res} bytes from {temp_upload_path} to {}", dest.display());
238239
}
239240
if has_remote {
240241
let size = fs::metadata(&temp_upload_path).await?.len();

0 commit comments

Comments
 (0)