Speed up populateIpChanges maintenance script.
authorMusikAnimal <musikanimal@gmail.com>
Sat, 16 Sep 2017 21:05:07 +0000 (17:05 -0400)
committerReedy <reedy@wikimedia.org>
Mon, 18 Sep 2017 15:52:31 +0000 (15:52 +0000)
commit2eac9d7ef4953fdfe5f710fb3dc98c360c80c5ae
tree571cccc4d8ce94ce85eec11b8d2af8660e8e237b
parent762d30a2cde3ce2f7f35e2c060838599d1683a56
Speed up populateIpChanges maintenance script.

Use BETWEEN in populateIpChanges maintenance script, which will make it
more efficient when copying revisions with a high rev_id. Also adding a
'max-rev-id' option to prevent the script from looping through IP
changes that have already been copied since the core patch was deployed.

Bug: T175962
Change-Id: I1df10c9b7237ad5002f76f9d354c36ce879d9d9f
maintenance/populateIpChanges.php