[Pgpool-hackers] New patches for pcp_promote_node

Tatsuo Ishii ishii at sraoss.co.jp
Thu Mar 3 06:30:17 UTC 2011


Gilles,

Can you please give me the doc patch in diff -c format?
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

> Hi,
> 
> Here is a new patch to replace previous one that concern promoting any
> node as new master:
> 
>     - Fix preferred node initialization that breaks load balancing after
>     promoting.
>     - Limit the usage of pcp_promote_node to master/slave and streaming
>     replication mode.
>     - Add control over node number to prevent node out of range
>     (NodeIdOutOfRange).
>     - Add a patch for documentation.
> 
> 
> Here is debug of error message when trying to promote a node when pgpool
> is not in S/R:
> 
>     DEBUG: send: tos="R", len=46
>     DEBUG: recv: tos="r", len=21, data=AuthenticationOK
>     DEBUG: send: tos="E", len=6
>     DEBUG: recv: tos="e", len=30, data=NotInStreamingReplication
>     DEBUG: command failed. reason=NotInStreamingReplication
>     BackendError
>     DEBUG: send: tos="X", len=4
> 
> Regards,
> 
> -- 
> Gilles Darold
> http://dalibo.com - http://dalibo.org
> 


More information about the Pgpool-hackers mailing list