ArthurTaylor added a comment.

  Update: We (@Lucas_Werkmeister_WMDE, @Michael)have the theory that there are 
two different parse results with different counts of statements, and that is 
causing this conflict.
  
  We believe the two codepaths are:
  
  - doLinksUpdateComplete -> replaceUsagesForPage
  - onParserCashSaveComplete->addUsagesForPage
  
  They should have the same usages list of usages, but they seem not to for 
some wikis in production (hence the conflicting database writes). Since the 
usage-counting code is the same in both cases, we suspect that there must be a 
difference in the parser output. @Lucas_Werkmeister_WMDE is going to try deploy 
some more debugging code to mwdebug1001 to instrument these paths and test our 
assumption.
  
  We expect that both calls happen on the same host - we instrumented both code 
paths with logging and deployed the changed code to mwdebug.

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]

Reply via email to