Page MenuHomePhabricator

PollForChanges runs too long on start
Closed, ResolvedPublic

Description

The pollForChanges script runs too long when it is called, starting at the beginning of everything to copy all changes over. This needs to be rethought.


Version: unspecified
Severity: normal
Whiteboard: storypoints: 3

Details

Reference
bz40199

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:50 AM
bzimport set Reference to bz40199.
bzimport added a subscriber: Unknown Object (MLST).

There is no reason to replay all changes on every restart. This could be remedied in several ways, but this one is probably the nicest:

The script should get an optional command line parameter that tells it to replay changes only from the given timestamp. Adopting the database query accordingly should be trivial.

Verified in Wikidata demo time for sprint 16