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.)
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | BUG REPORT | None | T309445 [Investigation] Terms storage missing most item labels after merge, resulting in item IDs being shown | ||
Resolved | Lucas_Werkmeister_WMDE | T311307 Add debug logging for item terms storage after merging |
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
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
Change 808836 merged by jenkins-bot:
[operations/mediawiki-config@master] Add WikibaseTerms temporary debug log channel
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
Can be tech-verified (look for the new channel in logstash) once wmf.18 reaches Wikidata.
The logging is working fine, see the mediawiki dashboard with the channel set to WikibaseTerms.
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
Sorry, disregard, I meant to attach that to T309445. This task is done and should stay closed.