jenkins-bot has submitted this change and it was merged. Change subject: docs/database.txt: Don't mention $wgAntiLockFlags ......................................................................
docs/database.txt: Don't mention $wgAntiLockFlags Setting was removed in 12757b50f8da and is no longer used on the Wikimedia cluster. Change-Id: I0a6e0c029d3246f7a5a229411e66949469ab941e --- M docs/database.txt 1 file changed, 1 insertion(+), 4 deletions(-) Approvals: Hoo man: Looks good to me, approved jenkins-bot: Verified diff --git a/docs/database.txt b/docs/database.txt index 735f26b..ba3045e 100644 --- a/docs/database.txt +++ b/docs/database.txt @@ -159,10 +159,7 @@ Use of locking reads (e.g. the FOR UPDATE clause) is not advised. They are poorly implemented in InnoDB and will cause regular deadlock errors. -It's also surprisingly easy to cripple the wiki with lock contention. If -you must use them, define a new flag for $wgAntiLockFlags which allows -them to be turned off, because we'll almost certainly need to do so on -the Wikimedia cluster. +It's also surprisingly easy to cripple the wiki with lock contention. Instead of locking reads, combine your existence checks into your write queries, by using an appropriate condition in the WHERE clause of an -- To view, visit https://gerrit.wikimedia.org/r/169312 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0a6e0c029d3246f7a5a229411e66949469ab941e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: PleaseStand <[email protected]> Gerrit-Reviewer: Aaron Schulz <[email protected]> Gerrit-Reviewer: Hoo man <[email protected]> Gerrit-Reviewer: Waldir <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
