Page MenuHomePhabricator

pollForChanges must remember where it left of, so it can recover
Closed, ResolvedPublic

Description

At present, pollForChanges will process all changes in the wb_changes table, unless the starting point is given explicitly as a command line option. This means that automatic recovery, or cron-based batch processing, is not possible.

We need a mechanism to remember the last change that was processed, so when pollForChanges restarts, it will continue operation where it left off.


Version: unspecified
Severity: blocker

Details

Reference
bz42817

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:55 AM
bzimport set Reference to bz42817.

Change I6db28a94: (bug 42817) continuation logic for pollForChanges.

This bug is assigned. Who is working on it? Thank you.

merged into master and backported into mw1.21-wmf5. due to go live today, if nothing goes wrong.

Verified in Wikidata demo sprint 26