[SiteStatsUpdate] Reduced contention by using a new lockIsFree() DB function.
authorAaron <aschulz@wikimedia.org>
Thu, 10 May 2012 22:42:59 +0000 (15:42 -0700)
committerAaron <aschulz@wikimedia.org>
Thu, 10 May 2012 22:48:58 +0000 (15:48 -0700)
commitff187ea7cc0afe9b4ccc87209c2dda6cab62f6f1
tree7f540b36fc6ace102d9818a6d70ec1b71a5f31d9
parent4a75357363a0899bb994582a7704775690ea70e3
[SiteStatsUpdate] Reduced contention by using a new lockIsFree() DB function.

* Note: follows up a4b3979160c3ae895d4763967c485380448ce8c0
* Cleanup up transaction statements a bit; transactions don't effect the lock calls
* Also made DatabaseMysql::unlock() actually return a bool

Change-Id: Iade2efa94165b6918eae0863716cc163f36a07b8
includes/SiteStats.php
includes/db/Database.php
includes/db/DatabaseMysql.php