Caused by T157651: sql.php must not run LoadExtensionSchemaUpdates and T249598: Wikibase schema updaters must not modify database directly
Incident documentation underway
At 23:00:00 UTC cron from puppet cron/wikibase/dumpwikibaserdf.sh, which calls cron/wikibase/wikibasedumps-shared.sh, which calls sql.php to run an ad-hoc query.
sql.php in turn due to the bug mentioned above, dropped an important table (wb_items_per_site) in production.
Original report:
Error: 1146 Table 'wikidatawiki.wb_items_per_site' doesn't exist (10.64.0.96)
https://meta.wikimedia.org/wiki/Steward_requests/Global [Xou1VgpAMNIAA1mYvDEAAAIS] 2020-04-06 23:03:50: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
https://meta.wikimedia.org/wiki/Wikipedia_15/Get_Involved/el [73a46ca0-a4d7-4265-86f9-9dc923efb4e1] 2020-04-06 23:04:32: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
https://en.wikipedia.org/wiki/Main_Page [Xou16QpAAMEAAtSGcnQAAABM] 2020-04-06 23:06:18: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"