Fix Redis increment behavior by using BagOStuff->incr instead
authorMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 22 Oct 2013 21:35:23 +0000 (17:35 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Tue, 22 Oct 2013 21:39:00 +0000 (17:39 -0400)
commitface4812c6b3cc60d4408601b3d4c7c484596417
treefd239688088b8e82a9685346d897920beab70f9d
parent7cff82a1184e51c64c4e7cd89a52ef95cef2d628
Fix Redis increment behavior by using BagOStuff->incr instead

Due to the PHP serialization, the Redis native INCR and INCRBY do not
work.  This instead falls back on the parent class's incr, which uses
lock and unlock, and incrementing on the PHP side.

Bug: 55986
Change-Id: I500199aeb935963ca118fde163bd7ba0cba8f79f
includes/objectcache/RedisBagOStuff.php