Cleanup MemcLockManager and move it to /libs
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 30 Sep 2016 12:47:26 +0000 (05:47 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 30 Sep 2016 13:33:32 +0000 (06:33 -0700)
commita2dd3480daf66e449bcddaa2b2b4f634e006bea6
tree6dc8a327fdb01d082e5b10f25deb728c43215695
parentcbdcfaef6255d9404b2f94043b211429560d3dcd
Cleanup MemcLockManager and move it to /libs

* Remove wf* function and ObjectCache dependencies.
* Use the base class session field.
* Lower physical lock structure TTL and move it to the base
  class as a constant.
* Resolve TODO about acquiring mixed lock types in one pass.
* Only mark servers down for 30 seconds in case of long-running
  scripts.

Change-Id: Icd4be407e599524cc620975d27e85666d2532b95
autoload.php
includes/filebackend/lockmanager/MemcLockManager.php [deleted file]
includes/libs/lockmanager/LockManager.php
includes/libs/lockmanager/MemcLockManager.php [new file with mode: 0644]
includes/libs/lockmanager/QuorumLockManager.php
includes/libs/objectcache/MemcachedBagOStuff.php