<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’m using Ubuntu 16.04 with PostgreSQL apt list, looks version 3.7.3 is not there.</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:ishii@sraoss.co.jp">Tatsuo Ishii</a><br>
<b>Sent: </b>Wednesday, May 16, 2018 5:48 PM<br>
<b>To: </b><a href="mailto:hiscal@outlook.com">hiscal@outlook.com</a><br>
<b>Cc: </b><a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<b>Subject: </b>Re: [pgpool-general: 6088] pgpool3.7.2 not detecting master node?</p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&gt; Hi, all<br>
&gt; <br>
&gt; I have pgpool2 3.7.2 with 2 postgresql-10 nodes (version 10.4) in the backend, pgpool starts with below logs:<br>
&gt; <br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; Backend status file /var/log/postgresql/pgpool_status discarded<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; Setting up socket for 0.0.0.0:9999<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; Setting up socket for :::9999<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; find_primary_node_repeatedly: waiting for finding a primary node<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; find_primary_node: checking backend no 0<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; find_primary_node: checking backend no 1<br>
&gt; May 16 16:17:49 pgpool[4496]: 2018-05-16 16:17:49: pid 4496: LOG:&nbsp; find_primary_node: primary node id is 1<br>
&gt; <br>
&gt; Backend0 is my slave node and backend1 is my master node, master and slave are in stream replication mode.<br>
&gt; <br>
&gt; It looks fine from logs, but when clients connected to pgpool, found requests were routed to backend0 not backend1, why???<br>
&gt; <br>
&gt; If I use PostgreSQL-9.6, everything works fine. Please help, thanks.<br>
<br>
Sounds like a known bug with Pgpool-II 3.7.2. You should upgrade to 3.7.3.<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:http://www.sraoss.co.jp<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>