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 <[EMAIL PROTECTED]> wrote: > Hi, > > From: "Michael SALOMON" <[EMAIL PROTECTED]> > 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 > [EMAIL PROTECTED] > > 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 > [email protected] > http://pgfoundry.org/mailman/listinfo/pgpool-general > >
_______________________________________________ Pgpool-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-general
