Page MenuHomePhabricator

Wikidata rdf lexemes dump failed for Fri Aug 4, due to db conn error
Open, MediumPublic

Description

Full error email:

Systemd timer ran the following command:

    /usr/local/bin/dumpwikibaserdf.sh -p wikidata -d lexemes -f ttl -e nt

Its return value was 1 and emitted the following output:

ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 104
Failed.
Couldn't get MAX(page_id) from db.

We can add retries in the getNumberOfBatchesNeeded function in /usr/local/bin/wikibasedumps-shared.sh to take care of that. This is the only function in this little shared library that makes db queries, so that should get it.

Event Timeline

ArielGlenn triaged this task as Medium priority.Aug 5 2023, 6:48 AM
ArielGlenn created this task.

Change 945899 had a related patch set uploaded (by ArielGlenn; author: ArielGlenn):

[operations/puppet@production] retry getting the max rev id for wikibase dumps on failure

https://gerrit.wikimedia.org/r/945899