RebuildRecentchanges improvements
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 19 Apr 2016 20:40:38 +0000 (13:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 19 Apr 2016 20:52:40 +0000 (13:52 -0700)
commitb09a23f284079758653c62305f1ab590e48a09a3
treeeb5f958c516e2d96ae4c6e15540a13f70dc086c0
parent31e6f7ce134c79c7502f7480d698f74b03e9a169
RebuildRecentchanges improvements

* Always delete entries in the time range
* Batch queries and wait for slaves
* Optimized size-fetching query (pass 2)
* Set with rc_type with the actual constants (pass 2)
* Avoid flagging non-bot accounts as 'bot edits
* Use more modern DB layer coding style

Bug: T133053
Change-Id: I55cc099bf40977fa9e0a365da104c208441eec00
maintenance/rebuildrecentchanges.php