Page MenuHomePhabricator

[TECH][WIKIDATA] Create an incident playbook/flow chart for what to do when Wikidata ChangeDispatching is lagging
Closed, ResolvedPublic5 Estimated Story Points

Description

Every now and then, the time it takes from a change being made on Wikidata to it being injected to a subscribed wiki's Recent Changes lags more than 1 hour, while it is usually a matter of seconds. See the Change Dispatching Grafana Dashboard

Since that seems to be an occasionally recurring issue that is only partially under our control, it seems good to have some playbook that describes in detail steps to take to determine the cause of a given instance of high lag. The target audience would be somewhat experienced developers, but that are only slightly familiar with Wikimedia infrastructure (so that the steps are easy to follow in the heat of the moment).

https://wikitech.wikimedia.org/wiki/WMDE/Wikidata/Alerts#Change_Dispatching
https://wikitech.wikimedia.org/wiki/WMDE/Wikidata/Dispatching

Recent instances of this issue:

Open questions:

  • should that playbook / flow chart be public or not? (if it should be public, then the wiki tech articles linked above would seem to be a good place to put it)

Event Timeline

Prio Notes:

  • Does not affect end users / production
  • Affects monitoring
  • Does not affect development efforts
  • Affects onboarding efforts
  • Does not affect additional stakeholders
Lucas_Werkmeister_WMDE renamed this task from Create an icident playbook/flow chart for what to do when Wikidata ChangeDispatching is lagging to Create an incident playbook/flow chart for what to do when Wikidata ChangeDispatching is lagging.Aug 2 2023, 2:14 PM
ItamarWMDE renamed this task from Create an incident playbook/flow chart for what to do when Wikidata ChangeDispatching is lagging to [TECH][WIKIDATA] Create an incident playbook/flow chart for what to do when Wikidata ChangeDispatching is lagging.Aug 2 2023, 2:15 PM
ItamarWMDE moved this task from Incoming to [DOT] Prioritized on the wmde-wikidata-tech board.
ItamarWMDE added a project: Wikidata Dev Team.

Suggested subtasks (with ideally a lead time <2 days)

  1. research examples of structures/outlines of such documents and settle on one => T348443
  2. write it up on Wikitech and link it in the right places (this might be split into multiple tasks, depending on the outcome of the above) (To be created after the above is more or less done)
ItamarWMDE claimed this task.

Read through it and looks good to me. Thank you.