[pgpool-hackers: 124] Re: Enabling -D switch of pgpool by default

alex alex at smalldemons.com
Wed Sep 12 09:11:11 JST 2012


The thing is, it's really easy to add -D via /etc/sysconfig/pgpool using 
$OPTS, but if it's enabled by default it's more work to remove.  It's 
also probably not a good idea to change the default behavior, as people 
are likely to rely on it staying the same.


   alex


On 9/11/12 5:03 PM, Gurjeet Singh wrote:
> Any thoughts on this?
>
> On Thu, Sep 6, 2012 at 9:55 AM, Gurjeet Singh <singh.gurjeet at gmail.com 
> <mailto:singh.gurjeet at gmail.com>> wrote:
>
>     Hi All,
>
>         I am considering adding the -D switch by default to the
>     pgpool's initi script, so that pgpool ignores the last known state
>     of a replica when pgpool was shutdown. I have seen situations
>     where a replica goes down, and pgpool sets its state to 3
>     (CON_DOWN), and even if replica is brought back online, and pgpool
>     restarted (without -D switch), pgpool does not recognize the
>     replica as usable.
>
>         Adding -D switch to pgpool startup script solves the problem
>     for me. SO I am wondering if it is a bad idea in some cases to use
>     -D switch by default.
>
>     Best regards,
>     -- 
>     Gurjeet Singh
>
>     http://gurjeet.singh.im/
>
>
>
>
> -- 
> Gurjeet Singh
>
> http://gurjeet.singh.im/
>
>
>
> _______________________________________________
> pgpool-hackers mailing list
> pgpool-hackers at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-hackers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20120911/b42d249c/attachment.html>


More information about the pgpool-hackers mailing list