Page MenuHomePhabricator

Add debug logging for item terms storage after merging
Closed, ResolvedPublic

Description

In T309445, we are witnessing some strange behavior where the terms of an item aren’t properly updated after a merge. We want to find out whether the secondary data updates which are supposed to update the terms even take place, by adding some debug logging to ItemHandler::getSecondaryDataUpdates() and ItemTermStoreWriterAdapter::saveTermsOfEntity(). This should go to a separate channel (like e.g. the DuplicateParse channel), which would be configured to capture all debug messages. (By default, only messages at level ≥ info go to logstash.)

Event Timeline

Change 808836 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[operations/mediawiki-config@master] Add WikibaseTerms temporary debug log channel

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

Change 808837 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Add debug logging for item term storage

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

Change 808836 merged by jenkins-bot:

[operations/mediawiki-config@master] Add WikibaseTerms temporary debug log channel

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

Mentioned in SAL (#wikimedia-operations) [2022-06-27T13:29:49Z] <lucaswerkmeister-wmde@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:808836|Add WikibaseTerms temporary debug log channel (T311307)]] (duration: 03m 30s)

Change 808837 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add debug logging for item term storage

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

Can be tech-verified (look for the new channel in logstash) once wmf.18 reaches Wikidata.

Change 810921 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Add debug logging for term storage cleanup

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

Change 810921 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Add debug logging for term storage cleanup

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

Sorry, disregard, I meant to attach that to T309445. This task is done and should stay closed.