wiki.techinc.nl/includes/deferred
Timo Tijhof 3d758d7495 jobqueue: Use explicit retry when refreshLinks can't get a lock
While RefreshLinksJob is de-duplicated by page-id, it is possible
for two jobs to run for the same page ID if the second one was queued
after the first one started running. In that case they the newer
one must not be skipped or ignored because it will have newer
information to record to the database, but it also has no way
to stop the old one, and we can't run them concurrently.

Instead of letting the lock exception mark the job as error,
making it implicitly retry, do this more explicitly, which avoids
logspam.

Bug: T170596
Co-Authored-By: Aaron Schulz <aschulz@wikimedia.org>
Change-Id: Id2852d73d00daf83f72cf5ff778c638083f5fc73
2018-08-28 22:39:01 +01:00
..
AtomicSectionUpdate.php Move IDatabase/IMaintainableDatabase to Rdbms namespace 2017-03-28 15:32:38 -07:00
AutoCommitUpdate.php Replace call_user_func_array(), part 1 2018-06-04 23:39:04 -07:00
CdnCacheUpdate.php A few doc comment fixups 2017-12-04 11:11:52 +11:00
DataUpdate.php Add action/user tracking to link refresh jobs 2017-10-23 11:06:16 -07:00
DeferrableCallback.php Make statsd counts for MWCallableUpdate actually useful 2016-07-21 23:52:09 -07:00
DeferrableUpdate.php Add pre-send update support to DeferredUpdates 2015-12-04 19:08:27 +00:00
DeferredUpdates.php Make DeferredUpdates avoid running during LBFactory::commitMasterChanges 2018-05-03 15:11:38 -07:00
EnqueueableDataUpdate.php Move EnqueueableDataUpdate to a separate file 2016-08-22 21:20:49 -07:00
HTMLCacheUpdate.php Add action/user tracking to html cache purge jobs 2017-10-30 10:47:30 -07:00
LinksDeletionUpdate.php jobqueue: Use explicit retry when refreshLinks can't get a lock 2018-08-28 22:39:01 +01:00
LinksUpdate.php jobqueue: Use explicit retry when refreshLinks can't get a lock 2018-08-28 22:39:01 +01:00
MergeableUpdate.php deferred: Improve DeferredUpdates test coverage 2017-10-12 21:18:12 +01:00
MWCallableUpdate.php deferred: Make MWCallableUpdate support a list of DB handles 2018-01-31 20:04:48 -05:00
SearchUpdate.php Reduce calls to MediaWikiServices::getInstance() 2018-08-18 06:02:39 +02:00
SiteStatsUpdate.php Add test for WikiPage post-edit stats update 2018-03-06 00:43:39 +00:00
TransactionRoundDefiningUpdate.php Do not start explicit transaction rounds for RecentChangesUpdateJob 2018-04-17 12:39:05 +00:00
WANCacheReapUpdate.php Fix some of the common typos 2018-08-16 00:59:32 +02:00