8000 [PBCKP-263] fix for tests.archive.ArchiveTest.test_archive_get_batchi… · postgrespro/pg_probackup@9e9509d · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e9509d

Browse files
authored
[PBCKP-263] fix for tests.archive.ArchiveTest.test_archive_get_batching_sanity (#532)
1 parent a4a2abd commit 9e9509d
< CCD3 span class="Box-sc-62in7e-0 CopyToClipboardButton-module__tooltip--HDUYz prc-TooltipV2-Tooltip-tLeuB" data-direction="sw" aria-label="Copy full SHA for 9e9509d" aria-hidden="true" id=":R4lebab:">Copy full SHA for 9e9509d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/archive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ uint32 run_wal_prefetch(const char *prefetch_dir, const char *archive_dir,
12631263

12641264
arg->thread_num = i+1;
12651265
arg->files = batch_files;
1266+
arg->n_fetched = 0;
12661267
}
12671268

12681269
/* Run threads */

0 commit comments

Comments
 (0)
0