[pgpool-general: 6048] Re: wrong arguments for online recovery script

Tatsuo Ishii ishii at sraoss.co.jp
Wed Apr 18 10:24:55 JST 2018


> In my opinion it is still a bug that pgpool starts the recovery process
> in some cases, even if the node id is not (yet) in the configuration. As
> a workaround we will now check the the node status before starting the
> recovery, so everything is working for us again. Thank you very much!

You are right. In the first place pcp_recovery_node should refuse to
recover the unused node. Will fix.

BTW, the cause of the original complain (wrong arguments for online
recovery script) was, if some of arguments for a recovery script is
an empty string (this could happen if the target node is in "unused"
status), it will be ignored by shell (Pgpool-II uses system()
function). I will fix the nasty bug by quoting empty arguments with
double quotations.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-general mailing list