This is an automated email from the ASF dual-hosted git repository. ztao1987 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hawq.git
The following commit(s) were added to refs/heads/master by this push: new 74c261d43 HAWQ-1845. fix issue in check_standy_sync 74c261d43 is described below commit 74c261d43ea4c39f4824c3599d3946816808cef1 Author: ztao1987 <zhenglin.ta...@gmail.com> AuthorDate: Fri Aug 19 15:19:10 2022 +0800 HAWQ-1845. fix issue in check_standy_sync --- tools/bin/hawq_ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bin/hawq_ctl b/tools/bin/hawq_ctl index a29f70812..890863f98 100755 --- a/tools/bin/hawq_ctl +++ b/tools/bin/hawq_ctl @@ -767,7 +767,7 @@ class HawqStart: conn.close() for row in rows: if row[0] != 'Synchronized': - if row[1].find('Standby master too far behind') != -1: + if row[1] == 'Standby master too far behind': return 3 return 2 else: