Re: Add progressive backoff to XactLockTableWait functions

2025-06-12 Thread Fujii Masao
On 2025/06/08 23:33, Xuneng Zhou wrote: Hi hackers, This patch implements progressive backoff in XactLockTableWait() and ConditionalXactLockTableWait(). As Kevin reported in this thread [1], XactLockTableWait() can enter a tight polling loop during logical replication slot creation on standb

Add progressive backoff to XactLockTableWait functions

2025-06-08 Thread Xuneng Zhou
Hi hackers, This patch implements progressive backoff in XactLockTableWait() and ConditionalXactLockTableWait(). As Kevin reported in this thread [1], XactLockTableWait() can enter a tight polling loop during logical replication slot creation on standby servers, sleeping for fixed 1ms intervals t