PleaseStand has uploaded a new change for review. https://gerrit.wikimedia.org/r/169312
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/12/169312/1 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: newchange Gerrit-Change-Id: I0a6e0c029d3246f7a5a229411e66949469ab941e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: PleaseStand <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
