On Tue, Oct 11, 2022 at 09:34:25AM +0530, Bharath Rupireddy wrote:
> now = t1;
> XLogWalRcvSendReply() /* say it ran for a minute or so for whatever reasons */
> XLogWalRcvSendHSFeedback() /* with patch walrecevier sends hot standby
> feedback more often without properly honouring
> wal_receiver_status_interval because the 'now' isn't actually the
> current time as far as that function is concerned, it is
> t1 + XLogWalRcvSendReply()'s time. */
>
> Well, is this really a problem? I'm not sure about that. Let's hear from others.
For this example, the feedback message would just be sent in the next loop
iteration instead.
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com