Steps to replicate the issue (include links if applicable):
- Add a global username (with a lot of SUL links; in this case I used ArielGlenn) to the override list for a global election (in this case https://vote.wikimedia.org/wiki/Special:SecurePoll/votereligibility/1364 )
- Save the page
What happens?:
- A DBTransactionSizeError is thrown:
To avoid creating high replication lag, this transaction was aborted because the write duration (3.800598859787) exceeded the 3 second limit. If you are changing many items at once, try doing multiple smaller operations instead. [bf111084-04b7-4f02-bbcf-808b85e94a3b] /wiki/Special:SecurePoll/votereligibility/1364/edit/include Wikimedia\Rdbms\DBTransactionSizeError: Transaction spent 3.801s in writes, exceeding the 3s limit from /srv/mediawiki/php-1.39.0-wmf.25/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1741) #0 /srv/mediawiki/php-1.39.0-wmf.25/includes/libs/rdbms/lbfactory/LBFactory.php(410): Wikimedia\Rdbms\LoadBalancer->approvePrimaryChanges(array, string) #1 /srv/mediawiki/php-1.39.0-wmf.25/includes/MediaWiki.php(671): Wikimedia\Rdbms\LBFactory->commitPrimaryChanges(string, array) #2 /srv/mediawiki/php-1.39.0-wmf.25/includes/MediaWiki.php(641): MediaWiki::preOutputCommit(RequestContext, Closure) #3 /srv/mediawiki/php-1.39.0-wmf.25/includes/MediaWiki.php(928): MediaWiki->doPreOutputCommit(Closure) #4 /srv/mediawiki/php-1.39.0-wmf.25/includes/MediaWiki.php(562): MediaWiki->main() #5 /srv/mediawiki/php-1.39.0-wmf.25/index.php(50): MediaWiki->run() #6 /srv/mediawiki/php-1.39.0-wmf.25/index.php(46): wfIndexMain() #7 /srv/mediawiki/w/index.php(3): require(string) #8 {main}
What should have happened instead?:
- The username should be added.
Other information (browser name/version, screenshots, etc.):
- This can be worked around by adding only a local instance of the user to the override list, e.g. ArielGlenn@metawiki, and having the user vote from that wiki directly.
- See also the very similar request T289797: Override list should allow for global usernames which should resolve this issue