Skip to content

Commit d27835d

Browse files
committed
bugfix: disappeared during backup files could give a false-positive alarm by validation. Issue #72
1 parent 00cbcc8 commit d27835d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ do_backup_instance(void)
479479

480480
if (tmp_file->write_size == FILE_NOT_FOUND)
481481
{
482-
pg_atomic_clear_flag(&tmp_file->lock);
483482
pgFileFree(tmp_file);
484483
parray_remove(backup_files_list, i);
484+
i--;
485485
}
486486
}
487487

0 commit comments

Comments
 (0)