Page MenuHomePhabricator

WDQS updater should have a keep running after error mode
Open, LowPublic


The WDQS Updater fails if it sees more than 6 (?) errors in a row. Please make that parameter configurable, e.g. "Number of failures before quiting", and it should allow -1 or infinite, so that it keeps trying until success. The delay between retries should be progressive, e.g. 0s, 10s, 30s, 1m, 10min (max, don't raise above this).

Event Timeline

Yurik created this task.Sep 19 2017, 5:55 PM
Restricted Application added projects: Wikidata, Discovery. · View Herald TranscriptSep 19 2017, 5:55 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Smalyshev updated the task description. (Show Details)Sep 19 2017, 8:14 PM

Right now it's hardcoded in RdfRepository class:

private int maxRetries = 6;
private int delay = 1000;

Probably not very hard to make configurable. Note this is for communication with Blazegraph, for Wikibase it's in WikibaseRepository class.

Smalyshev triaged this task as Medium priority.Sep 21 2017, 8:04 PM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptSep 21 2017, 8:04 PM
Smalyshev lowered the priority of this task from Medium to Low.Dec 13 2018, 6:22 PM