diff options
Diffstat (limited to 'src/backend/access/transam/xlogrecovery.c')
-rw-r--r-- | src/backend/access/transam/xlogrecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlogrecovery.c b/src/backend/access/transam/xlogrecovery.c index 24ab1b2b213..b2fe2d04ccf 100644 --- a/src/backend/access/transam/xlogrecovery.c +++ b/src/backend/access/transam/xlogrecovery.c @@ -1836,7 +1836,7 @@ PerformWalRecovery(void) */ if (waitLSN && (XLogRecoveryCtl->lastReplayedEndRecPtr >= - pg_atomic_read_u64(&waitLSN->minLSN))) + pg_atomic_read_u64(&waitLSN->minWaitedLSN))) WaitLSNSetLatches(XLogRecoveryCtl->lastReplayedEndRecPtr); /* Else, try to fetch the next WAL record */ |