mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-03-03 15:42:18 +02:00
Do not wait for the next segment
This commit is contained in:
parent
1ff905989e
commit
bc52046ac6
@ -1191,8 +1191,8 @@ XLogThreadWorker(void *arg)
|
||||
* Consider thread_arg->endSegNo and thread_arg->endpoint only if
|
||||
* they are valid.
|
||||
*/
|
||||
xlogreader->ReadRecPtr == thread_arg->endpoint &&
|
||||
nextSegNo > thread_arg->endSegNo)
|
||||
xlogreader->ReadRecPtr >= thread_arg->endpoint &&
|
||||
nextSegNo >= thread_arg->endSegNo)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user