Remove "memCache" field from LoadBalancer
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 05:14:48 +0000 (22:14 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 16:58:56 +0000 (16:58 +0000)
commit62fcaecee3c79a0c43b0fecfa863e30adc56589f
treed40e001742db559a3811e06e7d413ec5c0ac1451
parent44f5d8ada93fd228ac793249cd60a5cb567e1527
Remove "memCache" field from LoadBalancer

The only user was LoadMonitor, which is converted to only use
the WAN and server caches. Previously, the lock() calls there
were useless since LBFactory never injected "memcCache" to
LoadBalancer, ergo making it EmptyBagOStuff in LoadMonitor.

Change-Id: I0c7793d47b93b763dee478d16fb87ec637dc6cab
includes/libs/rdbms/loadbalancer/ILoadBalancer.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php
includes/libs/rdbms/loadmonitor/ILoadMonitor.php
includes/libs/rdbms/loadmonitor/LoadMonitor.php
includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
includes/libs/rdbms/loadmonitor/LoadMonitorNull.php