jenkins-bot has submitted this change and it was merged.

Change subject: Added merge() function to BagOStuff for CAS-like functionality.
......................................................................


Added merge() function to BagOStuff for CAS-like functionality.

* merge() will use CAS if supported or use locking otherwise
* The lock()/unlock() methods now have a default implementation
* added unit tests for merge

Change-Id: Ic27088488f8532f149cb4b36e156516f22880134
---
M includes/objectcache/APCBagOStuff.php
M includes/objectcache/BagOStuff.php
M includes/objectcache/DBABagOStuff.php
M includes/objectcache/EhcacheBagOStuff.php
M includes/objectcache/EmptyBagOStuff.php
M includes/objectcache/HashBagOStuff.php
M includes/objectcache/MemcachedBagOStuff.php
M includes/objectcache/MemcachedClient.php
M includes/objectcache/MemcachedPeclBagOStuff.php
M includes/objectcache/MultiWriteBagOStuff.php
M includes/objectcache/RedisBagOStuff.php
M includes/objectcache/SqlBagOStuff.php
M includes/objectcache/WinCacheBagOStuff.php
M includes/objectcache/XCacheBagOStuff.php
M tests/phpunit/MediaWikiPHPUnitCommand.php
A tests/phpunit/includes/objectcache/BagOStuffTest.php
16 files changed, 598 insertions(+), 33 deletions(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic27088488f8532f149cb4b36e156516f22880134
Gerrit-PatchSet: 16
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Tychay <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to