Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits
Zsolt Parragi <zsolt.parragi@percona.com>
From: Zsolt Parragi <zsolt.parragi@percona.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2026-05-29T21:08:42Z
Lists: pgsql-hackers
Hello! Shouldn't this need a condition similar to ResolveRecoveryConflictWithLock (if (logging_conflict) ...)? Otherwise this can result in a long wait time, with: log_recovery_conflict_waits = on deadlock_timeout = 100ms max_standby_streaming_delay = 5s It can wait for 5 seconds instead of the current 0.1 seconds without the change.