Page MenuHomePhabricator

More checks to avoid duplicate recent change entries
Closed, ResolvedPublic

Description

The poll for changes stuff and saving recent change entries could use more checks to make sure duplicate entries do not get saved.

This could be:

  1. at the recent change save point
  1. in poll for changes, programatically know which change id to start at, maybe with a hook point before pollforchanges queries the changes table.

or both. This is in event the poll for changes script has to be restarted.

Right now, it can use --since and work at a specified time interval with a cron job or run continuously as a daemon.


Version: master
Severity: normal

Details

Reference
bz42780

Event Timeline

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

https://gerrit.wikimedia.org/r/#/c/37227/ - we have check now at the save point.

https://gerrit.wikimedia.org/r/#/c/37819/ - pollforchanges tracks the last change ID handled in a state file