Skip to content

Commit 311419a

Browse files
committed
comment for fio_get_crc32(missing_ok) in backup_non_data_file
1 parent d430c29 commit 311419a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/data.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,10 @@ backup_non_data_file(pgFile *file, pgFile *prev_file,
801801
(prev_file && file->exists_in_prev &&
802802
file->mtime <= parent_backup_time))
803803
{
804-
804+
/*
805+
* file could be deleted under our feets.
806+
* But then backup_non_data_file_internal will handle it safely
807+
*/
805808
file->crc = fio_get_crc32(from_fullpath, FIO_DB_HOST, false, true);
806809

807810
/* ...and checksum is the same... */

0 commit comments

Comments
 (0)