From e8b6faf9150c778cc963e8decbb700c9ff15a6d0 Mon Sep 17 00:00:00 2001 From: li_jianqiu <295949552@qq.com> Date: Sat, 30 Apr 2022 01:38:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bugfix=E3=80=91=E4=BF=AE=E5=A4=8Dhot?= =?UTF-8?q?=5Fstandby=5Ffeedback=E5=85=B3=E9=97=AD=E5=90=8E=EF=BC=8Cxmin?= =?UTF-8?q?=E4=B8=8D=E6=8E=A8=E8=BF=9B=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/storage/replication/walreceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/storage/replication/walreceiver.cpp b/src/gausskernel/storage/replication/walreceiver.cpp index 5ff7422c2..fc7f5f6c2 100644 --- a/src/gausskernel/storage/replication/walreceiver.cpp +++ b/src/gausskernel/storage/replication/walreceiver.cpp @@ -1570,7 +1570,7 @@ static void XLogWalRcvSendHSFeedback(void) * If the user doesn't want status to be reported to the master, be sure * to exit before doing anything at all. */ - if (u_sess->attr.attr_storage.wal_receiver_status_interval <= 0 || !u_sess->attr.attr_storage.hot_standby_feedback) + if (u_sess->attr.attr_storage.wal_receiver_status_interval <= 0) return; /* Get current timestamp. */