Hi Gilles, Thank you for comment.
Could you test the patch? Does it resolve the following problem? Subject: [Pgpool-hackers] Major problem in find_primary_node() Date: Wed, 19 Jan 2011 19:43:16 +0100 Regards, -- Toshihiro Kitagawa SRA OSS, Inc. Japan On Wed, 30 Mar 2011 14:18:59 +0200 Gilles Darold <[email protected]> wrote: > Hi Toshihiro, > > Le 30/03/2011 12:54, Toshihiro Kitagawa a écrit : > > Hi, > > > > How about the attached prototype patch, about the solution of > > find_primary_node() problem? > > > > This patch is simple design and small. > > > > - Primary node is "SELECT pg_is_in_recovery()" = false, > > Standby node is "SELECT pg_is_in_recovery()" = true. > > - Wait till a primary node appears when failover occurred. > > - Use recovery_timeout for timeout. > > > > Any feedback will be appreciated. > > Thanks for the work Toshihiro, I've not tested the patch but after > reading it I think this is exactly what's we need to have the follow > master and promote node patches fully working. > > Regards, > > -- > Gilles Darold > http://dalibo.com - http://dalibo.org > > _______________________________________________ Pgpool-hackers mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-hackers
