https://bugzilla.wikimedia.org/show_bug.cgi?id=55986
Web browser: ---
Bug ID: 55986
Summary: RedisBagOStuff->incr broken by due to PHP
serialization for primitives
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
This can be reproduced by running:
php /vagrant/mediawiki/tests/phpunit/phpunit.php --use-bagostuff=redis
/vagrant/mediawiki/tests/phpunit/includes/objectcache/BagOStuffTest.php
on https://gerrit.wikimedia.org/r/#/c/91138/ .
I was able to eliminate the error by dropping RedisBagOStuff->incr (falling
back on the parent's incr, lock, and unlock), but I'm not sure if that's an
acceptable solution.
This breaks the ping limiter (tested), and probably a couple other things (not
tested), when Redis is the main cache (as it is with MediaWiki-Vagrant).
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l