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 Pgpool-general@pgfoundry.org http://pgfoundry.org/mailman/listinfo/pgpool-general