Remove "masterPos" stuff from RefreshLinksJob
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 9 Jun 2016 11:49:33 +0000 (04:49 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 9 Jun 2016 11:57:25 +0000 (04:57 -0700)
commitd022475854140aa00afe75065c03fadf62d60afd
tree09783a1b825ad01cd39d7d638a3f37fe89f2e924
parent6f86660e23065e850251a64e9f25993ab3dc2148
Remove "masterPos" stuff from RefreshLinksJob

Just do a single slave lag wait check when branching the base job.
Any remnant/leaf jobs after than do not have to do anything special.

This should also improve de-duplication and reduce commonswiki
errors like "Could not acquire lock on page #42482792" due to
insane pages.

Change-Id: I40f9c6e0e905bd8149bb364c33a0642628cb1423
includes/jobqueue/jobs/RefreshLinksJob.php