Update libs/remote_storage/src/local_fs.rs

Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
Dmitry Rodionov
2023-04-12 21:26:22 +03:00
parent d826cacc7d
commit dbdec75171

View File

@@ -136,7 +136,7 @@ impl RemoteStorage for LocalFs {
// T2: rename(temp, dst) -> fails, temp no longet exists
// This can be solved by supplying unique temp suffix every time, but this situation
// is not normall in the first place, the error can help (and helped at least once)
// to discover bugs in upper level synhronization.
// to discover bugs in upper level synchronization.
let temp_file_path =
path_with_suffix_extension(&target_file_path, LOCAL_FS_TEMP_FILE_SUFFIX);
let mut destination = io::BufWriter::new(