<div dir="ltr">So far I haven&#39;t heard of any damaging or detrimental effects of -D option. The only effect and overhead that I can verify is that with -D option pgpool will connect to every backend_hostname to verify whether the database backend is reachable. This may cause some slowdown in initial pgpool startup, but the upside is that the backend_status value reflects the true status of a backend.<br>

<br>I guess I&#39;ll enable the -D option, possibly with the ability to disable it easily.<br><br>Best regards,<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 8:59 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sounds like a good point.<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<div class="im HOEnZb"><br>
&gt; The thing is, it&#39;s really easy to add -D via /etc/sysconfig/pgpool<br>
&gt; using $OPTS, but if it&#39;s enabled by default it&#39;s more work to remove.<br>
&gt; It&#39;s also probably not a good idea to change the default behavior, as<br>
&gt; people are likely to rely on it staying the same.<br>
&gt;<br>
&gt;<br>
&gt;   alex<br>
&gt;<br>
&gt;<br>
&gt; On 9/11/12 5:03 PM, Gurjeet Singh wrote:<br>
&gt;&gt; Any thoughts on this?<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Sep 6, 2012 at 9:55 AM, Gurjeet Singh &lt;<a href="mailto:singh.gurjeet@gmail.com">singh.gurjeet@gmail.com</a><br>
</div><div class="HOEnZb"><div class="h5">&gt;&gt; &lt;mailto:<a href="mailto:singh.gurjeet@gmail.com">singh.gurjeet@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;     Hi All,<br>
&gt;&gt;<br>
&gt;&gt;         I am considering adding the -D switch by default to the<br>
&gt;&gt;     pgpool&#39;s initi script, so that pgpool ignores the last known state<br>
&gt;&gt;     of a replica when pgpool was shutdown. I have seen situations<br>
&gt;&gt;     where a replica goes down, and pgpool sets its state to 3<br>
&gt;&gt;     (CON_DOWN), and even if replica is brought back online, and pgpool<br>
&gt;&gt;     restarted (without -D switch), pgpool does not recognize the<br>
&gt;&gt;     replica as usable.<br>
&gt;&gt;<br>
&gt;&gt;         Adding -D switch to pgpool startup script solves the problem<br>
&gt;&gt;     for me. SO I am wondering if it is a bad idea in some cases to use<br>
&gt;&gt;     -D switch by default.<br>
&gt;&gt;<br>
&gt;&gt;     Best regards,<br>
&gt;&gt;     --     Gurjeet Singh<br>
&gt;&gt;<br>
&gt;&gt;     <a href="http://gurjeet.singh.im/" target="_blank">http://gurjeet.singh.im/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Gurjeet Singh<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://gurjeet.singh.im/" target="_blank">http://gurjeet.singh.im/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; pgpool-hackers mailing list<br>
&gt;&gt; <a href="mailto:pgpool-hackers@pgpool.net">pgpool-hackers@pgpool.net</a><br>
&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Gurjeet Singh<br><br><a href="http://gurjeet.singh.im/" target="_blank">http://gurjeet.singh.im/</a><br></div><br>
</div>