jobqueue: migrate root job deduplication to the WAN cache
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 6 Jul 2019 05:43:45 +0000 (22:43 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 13 Jul 2019 22:38:17 +0000 (15:38 -0700)
commit43c78e83d7d5a03988d9b320f36f35342204da6b
treee37b5706a629575720f4a94472e68a653225d050
parenta0307e8fa07f11f886bd1c4bc08a51ba031afa70
jobqueue: migrate root job deduplication to the WAN cache

If the root job timestamp keys are lost or otherwise unknown, they
will now be deductively recached with the best known values as jobs
are popped and executed. This means the running any of many child
jobs of a root job can restore the root timestamp if it was lost.
This does not need to use the main stash given this fact.

Bug: T227376
Change-Id: Iae0f3af15803af048ff49f3bf281b2bde18c87f2
includes/jobqueue/JobQueue.php
includes/jobqueue/JobQueueDB.php
includes/jobqueue/JobQueueGroup.php
includes/jobqueue/JobQueueMemory.php
includes/jobqueue/JobQueueRedis.php