Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits
Date: 2026-05-29 21:08:42
Message-ID: CAN4CZFPgNmU83mQx60HTycDCw8Hw8sLQmJQJebySK0NjAK6=4w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2026-05-29 21:36:57 Re: glob support in extension_control_path/dynamic_library_path?
Previous Message Tomas Vondra 2026-05-29 20:27:20 Re: Changing the state of data checksums in a running cluster