alaa_wmde added a comment.

  In T226639#5289701 <https://phabricator.wikimedia.org/T226639#5289701>, @hoo 
wrote:
  
  > In T226639#5287258 <https://phabricator.wikimedia.org/T226639#5287258>, 
@alaa_wmde wrote:
  >
  > > I wonder if waiting for replication might be another option here to avoid 
duplicate inserts caused by lag altogether?
  >
  >
  > We can definitely consider this, but only with a) a short timeout and b) 
not during web-requests (never let the user wait, but I think this isn't a 
problem, as we already do all of this deferred?).
  
  
  That sounds promising. We can try to wait for replication with a time out of 
2 seconds. Yes we are doing this whole thing as a deferred update, so the user 
wouldn't wait.
  
  We have alreayd tested (@Ladsgroup and @alaa_wmde) few cases to confirm that 
it is happening due to race condition between replication and the multiple 
requests sent for different languages by old term box.

TASK DETAIL
  https://phabricator.wikimedia.org/T226639

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: alaa_wmde
Cc: hoo, Addshore, darthmon_wmde, WMDE-leszek, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, Aklapper, Ladsgroup, Daryl-TTMG, 
RomaAmorRoma, 0010318400, E.S.A-Sheild, joker88john, CucyNoiD, Nandana, 
NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, 
Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, 
GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to