Ladsgroup added a comment.

  After discussion we come to conclusion that we need to check, insert, get id 
anyway and check (first part) needs to happen on replica but the second ones 
can happen on master. The reason is that MySQL increases auto_increment last 
insert id with INSERT IGNORE even when it doesn't insert anything (this is 
avoid deadlocks and keeping the table locked for inserting a new row while 
inserting one is in progress)

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

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

To: alaa_wmde, Ladsgroup
Cc: Ladsgroup, Aklapper, alaa_wmde, 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, Wikidata-bugs, 
aude, Lydia_Pintscher, JeroenDeDauw, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to