Made BagOStuff fail fast in cas/lock on certain errors
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 1 Apr 2014 20:25:42 +0000 (13:25 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 1 Apr 2014 20:26:44 +0000 (13:26 -0700)
commit4d7f18f6d5b9e96aabee4646e7c7a63834c3d223
treee003694f97e709467f268822ad2920b538660996
parentef846c6d3cf8e7213f431eb63a6592a8fa6f7812
Made BagOStuff fail fast in cas/lock on certain errors

* This avoids wasting time waiting on down servers

bug: 63058
Change-Id: Ia78a2036ffa7a20102ec9e8bf941cacb7fa63435
includes/objectcache/BagOStuff.php
includes/objectcache/MemcachedPeclBagOStuff.php
includes/objectcache/MultiWriteBagOStuff.php
includes/objectcache/RedisBagOStuff.php
includes/objectcache/SqlBagOStuff.php