daniel added a comment.

@jcrespo My point is that LoadBalancer::reuseConnection should make sure that I 
get an existing connection, not a new one, when I ask for a connection to a 
wiki on the same cluster, if there already is a connection to that cluster. If 
used correctly, this means that the maximum number of connections would be the 
number of clusters times two (one master and one slave per cluster), right?

It's important for me to understand whether consistent use of LB::getConnection 
and LB:reuseConnection *should* resolve the problem. Because that was my 
assumption when I wrote the script. So, was my assumption wrong, or is the 
implementation faulty in some way?


TASK DETAIL
  https://phabricator.wikimedia.org/T118162

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: aaron, jcrespo, gerritbot, daniel, aude, hoo, Lydia_Pintscher, Addshore, 
Aklapper, Joe, Wikidata-bugs, Mbch331, Krenair



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to