[pgpool-hackers: 957] Re: pgpool_status

Tatsuo Ishii ishii at postgresql.org
Sat Jun 27 20:46:51 JST 2015

> Currently pgpool-II does not save pgpool_status file when it's
> changed. Instead it saves when pgpool-II explicitly is going
> shutdown. This is fine in most cases and it saves slight CPU cycles.
> But what if pgpool-II killed abnormally? Or the system forces
> pgpool-II to go down by OOM killer?  In these cases next pgpool-II
> restarting could load obsolete status file.
> So I tend to think pgpool-II should save the file as soon as when the
> status is changed. If there's no objection, I will come up with a
> patch for this.

And here is the patch against master branch...

Best regards,
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pool_status.diff
Type: text/x-patch
Size: 4649 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20150627/6f4f15fc/attachment.bin>

More information about the pgpool-hackers mailing list