Skip to content

Commit 64ff0bb

Browse files
authored
[Issue #459][PGPRO-6034] Fix catchup (delta and ptrack) data corruption (#460)
* [Issue #459][PGPRO-6034] Fix catchup (delta and ptrack) data corruption
1 parent 758a32f commit 64ff0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/catchup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ do_catchup(const char *source_pgdata, const char *dest_pgdata, int num_threads,
921921
char fullpath[MAXPGPATH];
922922

923923
join_path_components(fullpath, dest_pgdata, file->rel_path);
924-
fio_delete(file->mode, fullpath, FIO_DB_HOST);
924+
fio_delete(file->mode, fullpath, FIO_LOCAL_HOST);
925925
elog(VERBOSE, "Deleted file \"%s\"", fullpath);
926926

927927
/* shrink dest pgdata list */

0 commit comments

Comments
 (0)