Addshore added a comment.

The other thing to note is that AUTOCOMMIT is only triggered when a race happens in the code:

				// RACE: $name was already in the db, probably just inserted, so load from master
				// Use DBO_TRX to avoid missing inserts due to other threads or REPEATABLE-READs
				$table = $this->loadTable(
					$this->getDBConnection( DB_MASTER, LoadBalancer::CONN_TRX_AUTOCOMMIT )
				);

Not sure why this race is happening. I'm guessing it is due to the swapping in and out of different NameTableStore instances while overriding other services...


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

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

To: Addshore
Cc: aaron, gerritbot, Jakob_WMDE, Pablo-WMDE, Legoktm, TerraCodes, Liuxinyu970226, Simetrical, Nikerabbit, WMDE-leszek, Aklapper, Tarrow, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to