Page MenuHomePhabricator

Slave lag causing "API response Error for PreprocessorRequest"
Open, NormalPublic

Description

https://logstash.wikimedia.org/#/dashboard/elasticsearch/parsoid filter by error

Occasionally (10 times in the last hour), Parsoid sees these errors, which occur while trying to render (wt2html) a page seconds after an edit. This seems like mysql replication lag to the slaves the mw api servers read from.

@GWicke suggest retrying the request after a short delay, with maybe using maxlag as an interval hint.

Event Timeline

Arlolra created this task.Sep 10 2015, 8:29 PM
Arlolra raised the priority of this task from to Normal.
Arlolra updated the task description. (Show Details)
Arlolra added subscribers: Arlolra, tstarling, ssastry, GWicke.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 10 2015, 8:29 PM

Also see T111264 as a possible solution.