Fix a small logic bug in adjusted parallel restore code.
This commit is contained in:
parent
28ba260906
commit
ec143f9405
@ -3574,8 +3574,10 @@ restore_toc_entries_parallel(ArchiveHandle *AH, ParallelState *pstate,
|
||||
DispatchJobForTocEntry(AH, pstate, next_work_item, ACT_RESTORE);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* at least one child is working and we have nothing ready. */
|
||||
Assert(!IsEveryWorkerIdle(pstate));
|
||||
}
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user