Skip to content

Commit c387855

Browse files
committed
WIP log based debugging
1 parent 89daa44 commit c387855

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/fs_store.rs

+4
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ fn write_chunk(
225225
// Move the temporary file into a snapshot in the document data directory
226226
// with a name based on the hash of the heads of the document
227227
let output_path = paths.chunk_path(root, &name);
228+
229+
tracing::warn!("Renaming: {:?}", temp_save);
230+
tracing::warn!("To: {:?}", output_path);
231+
228232
std::fs::rename(&temp_save_path, &output_path)
229233
.map_err(|e| Error(ErrorKind::RenameTempFile(temp_save_path, output_path, e)))?;
230234

0 commit comments

Comments
 (0)