ArthurTaylor added a comment.
We @Michael, @Lucas_Werkmeister_WMDE continued our investigations.
There are two apparently related issues in production:
- There are pages that have both specific C.XXX statements and a generic C
statement.
- When we purge these pages (action=purge), both are still present
- When we make a null edit (action=submit), we see that the C.XXX rows are
all regenerated (but not the C statement)
- Locally we are unable to reproduce either issue
- We had previously been able to observe double invocations of the
DataUpdateHookHandler::onParserCacheSaveComplete function after page purges -
today we have not been able to reproduce that.
Investigation steps:
- We added a debug usages function EntityUsagesTable::tmpDebugUsages to warn
in the case that the new list of entities contains both C and C.XXX statements.
- Called the function from SqlUsageTracker::replaceEntityUsages and
SqlUsageTracker::addUsages
- Hope to identify if the writes of the C and C.XXX statements in
production are coming from a single process or (by elimination) from two
separate processes.
- We temporarily deployed this patch to one of the debug servers
(mwdebug1001) and attempted to reproduce the issue.
- We were able to observe (in two separate SQL requests) that the `C.XXX`
statements were completely absent and then were inserted again
- In this process, no log warnings were emitted.
- We are not able to exclude that the mwdebug1001 server was not correctly
sending log events.
TASK DETAIL
https://phabricator.wikimedia.org/T255706
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: ArthurTaylor
Cc: ArthurTaylor, hoo, Lucas_Werkmeister_WMDE, ItamarWMDE, Ladsgroup, Krinkle,
eprodromou, aaron, Michael, Aklapper, thcipriani, Danny_Benjafield_WMDE,
Isabelladantes1983, Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531,
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264,
Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, darthmon_wmde, Rosalie_WMDE,
Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30,
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer,
Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Verdy_p,
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]