wiki.techinc.nl/includes/jobqueue/utils
Tim Starling 89dcc914b3 BacklinkJobUtils: don't miss pages falling in the gaps between batches
BacklinkCache::partition() is persistently cached with an expiry time
of one hour, with no invalidation. If a page starts using a template
after the partition cache is saved, and its page_id happens to fall in
a gap between batch ranges, a subsequent update to the template would
miss the page. Its page_touched would be permanently incorrect.

So, when loading the page IDs in a batch, use the start of the next
batch as the endpoint, rather than the highest page ID at the time of
the cache update.

Change-Id: I4459fc1c4242cd59505f0e05bf5c20a0b96cab33
2024-06-28 13:16:30 +10:00
..
BacklinkJobUtils.php BacklinkJobUtils: don't miss pages falling in the gaps between batches 2024-06-28 13:16:30 +10:00
PurgeJobUtils.php jobqueue: combine Logger channels, improve docs, add missing ingroup tags 2024-03-25 15:00:38 -07:00