Daniel Kinzler has submitted this change and it was merged.

Change subject: (bug 42325) Avoid race condition in SiteLinkTable.
......................................................................


(bug 42325) Avoid race condition in SiteLinkTable.

This makes sure the master database is used when checking for conflicting
sitelinks when saving an item. A similar issue with the TermCache remains
unsolved.

This is not very elegant, but seems to be the cleanest way without much
refactoring.

Change-Id: I4972bd7b3a486651b1a682967596b57dce72d217
---
M lib/includes/store/SiteLinkLookup.php
M lib/includes/store/SiteLinkTable.php
M repo/includes/content/ItemContent.php
3 files changed, 41 insertions(+), 11 deletions(-)

Approvals:
  Daniel Kinzler: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/36980
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4972bd7b3a486651b1a682967596b57dce72d217
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: mw1.21-wmf5
Gerrit-Owner: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to