diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2019-05-08 12:18:01 -0700 |
---|---|---|
committer | Aaron Schulz <aschulz@wikimedia.org> | 2019-06-13 20:09:48 +0100 |
commit | 7b1e345abc4cfe38f63135a016172cfd0340763f (patch) | |
tree | c2e9ac6f571ba955c83cb1ce4da220fbe4023fbc /tests/phpunit/includes/diff | |
parent | 5f225fc96b2124dfbcde39796714892295bf91e0 (diff) | |
download | mediawikicore-7b1e345abc4cfe38f63135a016172cfd0340763f.tar.gz mediawikicore-7b1e345abc4cfe38f63135a016172cfd0340763f.zip |
rdbms: avoid LoadBalancer::getConnection waste when using $groups
Add a "readIndexByGroup" field that does the same thing that the
generic read index does except for query grouped connections.
Also remove some pointless checks at the end of getReaderIndex().
Change-Id: I3bd6295be4355ee930960f89ccb07811dd8c5545
Diffstat (limited to 'tests/phpunit/includes/diff')
0 files changed, 0 insertions, 0 deletions