Skip to content

Commit adede57

Browse files
committed
[DEBUG] cubestore LocalDirRemoteFs vs mountpoints
1 parent 2d00152 commit adede57

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ impl RemoteFs for LocalDirRemoteFs {
224224
e
225225
))
226226
})?;
227+
debug!("Copy {temp_upload_path} => {dest}");
227228
fs::copy(&temp_upload_path, dest.clone())
228229
.await
229230
.map_err(|e| {
@@ -237,6 +238,7 @@ impl RemoteFs for LocalDirRemoteFs {
237238
}
238239
if has_remote {
239240
let size = fs::metadata(&temp_upload_path).await?.len();
241+
debug!("Size from {temp_upload_path} is {size}");
240242
self.check_upload_file(remote_path.clone(), size).await?;
241243
}
242244

0 commit comments

Comments
 (0)