[Pgpool-general] Problem with load balancing + automatic failover
Michael SALOMON
michaelsalomon78 at gmail.com
Tue May 13 16:13:06 UTC 2008
Hi !
Sorry for the late answer, i had a few days off last week...
I just tried you patch and it's working really fine, thanks a lot for you
help ! :)
Keep up the good work
michael SALOMON
On Wed, May 7, 2008 at 6:10 AM, Yoshiyuki Asaba <y-asaba at sraoss.co.jp>
wrote:
> Hi,
>
> From: "Michael SALOMON" <michaelsalomon78 at gmail.com>
> Subject: Re: [Pgpool-general] Problem with load balancing + automatic
> failover
> Date: Mon, 5 May 2008 10:54:23 +0200
>
> > Here are the log outputs I could get :
>
> Thanks. Could you apply the attached patch?
>
> Regards,
> --
> Yoshiyuki Asaba
> y-asaba at sraoss.co.jp
>
> Index: child.c
> ===================================================================
> RCS file: /cvsroot/pgpool/pgpool-II/child.c,v
> retrieving revision 1.21
> diff -c -r1.21 child.c
> *** child.c 27 Mar 2008 16:06:08 -0000 1.21
> --- child.c 7 May 2008 04:08:42 -0000
> ***************
> *** 1757,1763 ****
> int i;
>
> /* choose a backend in random manner with weight */
> ! selected_slot = 0;
> total_weight = 0.0;
>
> for (i=0;i<NUM_BACKENDS;i++)
> --- 1757,1763 ----
> int i;
>
> /* choose a backend in random manner with weight */
> ! selected_slot = MASTER_NODE_ID;
> total_weight = 0.0;
>
> for (i=0;i<NUM_BACKENDS;i++)
>
> _______________________________________________
> Pgpool-general mailing list
> Pgpool-general at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pgpool-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/pgpool-general/attachments/20080513/32f318f7/attachment.html
More information about the Pgpool-general
mailing list