summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache
Commit message (Collapse)AuthorAgeFilesLines
* Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-051-0/+5
| | | | | | | Newer Memcached's do not support the underlying protocol commands that getAllKeys() is implemented with. We should fallback to clearing everything in that case, as causing (temporary) performance problems for other applications on the server is better than having stale cached data.
* Fix memcache factory unit testsRobin McCorkell2015-07-161-2/+2
|
* Missing memcache should not cause occ hard-failRobin McCorkell2015-07-151-10/+39
| | | | Warning is now printed to logs, but occ and cron will still work.
* update license headers and authorsMorris Jobke2015-06-254-0/+8
|
* Merge pull request #16832 from owncloud/memcache-failJoas Schilling2015-06-161-2/+15
|\ | | | | Throw exception if memcache misconfigured or missing
| * Throw exception if memcache misconfigured or missingVincent Petry2015-06-121-2/+15
| | | | | | | | | | | | Instead of falling back to null memcache, throw exceptions. Also throw file locking specific exceptions in case the class is not available.
* | switch to using watch to implement cas and cad on redisRobin Appelman2015-06-121-30/+22
| |
* | add compare-and-delete to the memcache interfaceRobin Appelman2015-06-126-0/+65
| |
* | compare-and-set and compare-and-delete using lua scripts for redisRobin Appelman2015-06-121-2/+50
|/
* Null -> NullCacheThomas Müller2015-06-112-3/+3
|
* Revert "Null -> NullCache"Thomas Müller2015-06-111-1/+1
| | | | This reverts commit ff24554e76c6ccf7cdb4b5abd82fddaa8d82816c.
* Null -> NullCacheThomas Müller2015-06-111-1/+1
|
* Check for redis to be 2.2.5+Joas Schilling2015-06-021-1/+2
|
* add seperate config option for locking memcache backendRobin Appelman2015-06-011-1/+22
|
* Fix Null memcache fallback to match interfaceVincent Petry2015-06-011-3/+7
|
* Add CAS methods to Null memcacheVincent Petry2015-06-011-0/+12
| | | | | This prevents breaking ownCloud completely when memcache is not enabled and the locking code is triggered
* use trait for cas polyfill for xcacheRobin Appelman2015-04-301-24/+2
|
* add compare and swap to memcacheRobin Appelman2015-04-306-2/+122
|
* extends memcache with add, inc and decRobin Appelman2015-04-305-22/+232
|
* Memcache\Redis Add DB Select FunctionalityMichael Telatynski2015-04-151-0/+5
|
* Update license headersJenkins for ownCloud2015-03-269-36/+178
|
* Do not use APCu when apc.enabled is Off.Andreas Fischer2015-03-251-0/+2
|
* Add version and path to cache prefixLukas Reschke2015-03-171-0/+3
| | | | | | Prevents to have the cache reused by other instances on the server which have possible the same instance ID and also invalidates older cache entries after an upgrade which can cause unwanted side-effects. Impact for deployment: The same cache will only get used if ownCloud is installed with the same version and under the same path. But this should be a basic requirement anyways.
* \OC\Memcache\Cache implements \OCP\ICacheRobin McCorkell2015-03-051-1/+1
|
* Refactor \OC\Memcache\FactoryRobin McCorkell2015-03-051-36/+55
| | | | | | | | | | Caches divided up into two groups: distributed and local. 'Low latency' is an alias for local caches, while the standard `create()` call tries to get distributed caches first, then local caches. Memcache backend is set in `config.php`, with the keys `memcache.local` and `memcache.distributed`. If not set, `memcache.distributed` defaults to the value of `memcache.local`.
* Revert "Updating license headers"Morris Jobke2015-02-269-169/+45
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-239-45/+169
|
* Revert "add debug log for memcache instantiation"Lukas Reschke2015-02-181-17/+5
|
* Use APCu only if available in version 4.0.6 and higherLukas Reschke2015-02-171-0/+2
| | | | | | | | APCu before 4.0.6 is unbelievable buggy and tend to segfault the PHP process (i.e. the whole webserver) This potentially fixes https://github.com/owncloud/core/issues/14175 Requires a backport to stable8
* add debug log for memcache instantiationJörn Friedrich Dreyer2015-02-161-5/+17
|
* Add an array implementation of cache and use it if we are not debuggingJoas Schilling2015-02-162-1/+72
|
* Json_(en|de)code values on redis to be able to cache arraysJoas Schilling2015-01-201-4/+4
|
* Add Null memcacherRobin McCorkell2015-01-092-2/+37
|
* HHVM: In APC cache clear, only request the cache key in APCIterator.Andreas Fischer2014-12-191-1/+1
| | | | | | | | | | The default value of the $format parameter of the APCIterator constructur is APC_ITER_ALL which instructs the iterator to provide all available information on cache values being iterated over. Only the key value is necessary for matching and deletion via apc_delete(), though. This prevents a "Format values FILENAME, DEVICE, INODE, MD5, NUM_HITS, MTIME, CTIME, DTIME, ATIME, REFCOUNT not supported yet." notice on HHVM.
* Merge pull request #12748 from owncloud/redis_cacheMorris Jobke2014-12-192-1/+97
|\ | | | | Add Redis cache implementation, prefer over memcached, tests & config sample doc
| * Add Redis cache implementation, prefer over memcached, tests & config sampleJörn Friedrich Dreyer2014-12-102-1/+97
| |
* | HHVM: Add workaround for missing Memcached::deleteMulti()Andreas Fischer2014-12-171-1/+7
|/
* Memcache\Factory: Remove static, use globalPrefix.Andreas Fischer2014-07-291-2/+3
|
* Memcached hasKey should test for success, the get can fail for other reasons.Bart Visscher2014-05-081-1/+1
| | | | One of the other failures is no running server.
* Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-141-2/+10
|\ | | | | | | | | Conflicts: lib/private/appconfig.php
| * Merge pull request #6247 from owncloud/memcached-multiple-serversAndreas Fischer2014-02-081-2/+10
| |\ | | | | | | | | | | | | | | | | | | | | | Add support for multiple memcached servers. * owncloud/memcached-multiple-servers: Readd support for memcached_server config variable. Add support for multiple memcached servers.
| | * Readd support for memcached_server config variable.Andreas Fischer2014-01-101-1/+9
| | |
| | * Add support for multiple memcached servers.Andreas Fischer2014-01-101-2/+2
| | |
* | | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-1/+1
|/ /
* | Merge pull request #6647 from owncloud/memcache-publicicewind19912014-02-044-28/+25
|\ \ | | | | | | Add Memcache to the public api
| * | Fix some phpdoc errors and rename interfaceRobin Appelman2014-01-241-1/+3
| | |
| * | Remove the static dependency on OC_Util from MemcacheRobin Appelman2014-01-062-1/+14
| | |
| * | Use APCIterator for Memcache\APC::clear()Robin Appelman2014-01-062-26/+8
| |/
* / Add check for apc.enabled optionOtto Sabart2014-01-241-0/+2
|/ | | | | | Sometimes it's not possible to disable APC entirely and some of apc_functions are disabled. Only thing which is possible is to disable apc.enable option.
* Fix APCIterator syntax in \OC\Memcache\APCU::clearRobin Appelman2014-01-021-1/+1
| | | | see http://www.php.net/manual/en/apciterator.construct.php