Fixes to prevent duplicate rows in ActiveUser cache
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 23 Sep 2014 16:45:04 +0000 (09:45 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 23 Sep 2014 22:14:59 +0000 (15:14 -0700)
commit9e2b790fc28d9cb172eb16b6d39eb4739a48a66e
treee9d553440294f0d29fcac95b2879fa1a8713fe25
parent789566529b9f0a476f12a8814c0448a4e1156eb5
Fixes to prevent duplicate rows in ActiveUser cache

* Handle repeatable-read snapshots better for web requests
* In CLI mode, handle automatic reconnects better (rolling
  back). It has to abort since it lost the lock in that case.

bug: 71086
Change-Id: I5228889cf05857c87a06f7d073b5aa46f0c240be
includes/specials/SpecialActiveusers.php