Remove XLogWaitForReplayOf at replica to avoid deadlock

This commit is contained in:
Konstantin Knizhnik
2025-04-09 15:50:48 +03:00
parent 24038033bf
commit b34648c136

View File

@@ -2085,9 +2085,6 @@ communicator_read_at_lsnv(NRelFileInfo rinfo, ForkNumber forkNum, BlockNumber ba
start_ts = GetCurrentTimestamp();
if (RecoveryInProgress() && MyBackendType != B_STARTUP)
XLogWaitForReplayOf(reqlsns->request_lsn);
/*
* Try to find prefetched page in the list of received pages.
*/