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

From Zsolt Parragi
Subject Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits
Date
Msg-id CAN4CZFPgNmU83mQx60HTycDCw8Hw8sLQmJQJebySK0NjAK6=4w@mail.gmail.com
Whole thread
In response to Re: [PATCH] Prevent repeated deadlock-check signals in standby buffer pin waits  (JoongHyuk Shin <sjh910805@gmail.com>)
List 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.



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: A few message wording/formatting cleanup patches
Next
From: "David E. Wheeler"
Date:
Subject: Re: glob support in extension_control_path/dynamic_library_path?