daniel added a comment.

  Interesting. RevisionStore::insertRevisionRowOn() does uses GET_LOCK when it 
detects the auto-increment value of the revision table to be out of sync. This 
was introduced as a fix for  T202032: Duplicate ar_rev_id values in several 
wikis <https://phabricator.wikimedia.org/T202032>.
  
  I suppose multiple saves detecting this, and all attempting to acquire the 
same lock, can lead to a pile-up, causing some such requests to time out.
  
  The pile-up could perhaps be avoided by intropducing a randomized delay 
before trying to acquire the lock. But that may still cause the transaction to 
time out.
  
  The big question is - why does the auto-increment value get out of whack? Was 
there a master switch? As far as I know, the original cause of T202032 
<https://phabricator.wikimedia.org/T202032> should no longer happen with recent 
versions of Maria...

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

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

To: daniel
Cc: Pchelolo, daniel, DannyS712, Jdforrester-WMF, Krinkle, Marostegui, 
Liuxinyu970226, brennen, Bugreporter, LarsWirzenius, Hogue, Aklapper, Naike, 
Blissjay007, Oblanco79, Alter-paule, Beast1978, Un1tY, eprodromou, Hook696, 
Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, darthmon_wmde, Kent7301, Meekrab2012, 
joker88john, CucyNoiD, Nandana, NebulousIris, Banyek, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Rayssa-, Lahi, Gq86, 
Af420, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, 
Maathavan, _jensen, rosalieper, Agabi10, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to