8000 bugfix: elog fact of copying file after locking it, not before · postgrespro/pg_probackup@0286060 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0286060

Browse files
committed
bugfix: elog fact of copying file after locking it, not before
1 parent a428956 commit 0286060

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
@@ -2216,9 +2216,9 @@ backup_files(void *arg)
22162216
struct stat buf;
22172217
pgFile *file = (pgFile *) parray_get(arguments->files_list, i);
22182218

2219-
elog(VERBOSE, "Copying file: \"%s\" ", file->path);
22202219
if (!pg_atomic_test_set_flag(&file->lock))
22212220
continue;
2221+
elog(VERBOSE, "Copying file: \"%s\" ", file->path);
22222222

22232223
/* check for interrupt */
22242224
if (interrupted)

0 commit comments

Comments
 (0)
0