Page MenuHomePhabricator

Slave lag causing "API response Error for PreprocessorRequest"
Closed, DeclinedPublic

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 [[ https://www.mediawiki.org/wiki/Manual:Maxlag_parameter | maxlag ]] as an interval hint.

Event Timeline

Arlolra raised the priority of this task from to Medium.
Arlolra updated the task description. (Show Details)

Not relevant in the Parsoid/PHP world.