diff --git a/src/fs_store.rs b/src/fs_store.rs index e100e207..93d1cbc2 100644 --- a/src/fs_store.rs +++ b/src/fs_store.rs @@ -225,6 +225,10 @@ fn write_chunk( // Move the temporary file into a snapshot in the document data directory // with a name based on the hash of the heads of the document let output_path = paths.chunk_path(root, &name); + + tracing::warn!("Renaming: {:?}", temp_save); + tracing::warn!("To: {:?}", output_path); + std::fs::rename(&temp_save_path, &output_path) .map_err(|e| Error(ErrorKind::RenameTempFile(temp_save_path, output_path, e)))?;