Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fallback to complete Memcached flush if getAllKeys fails | Robin McCorkell | 2015-09-05 | 1 | -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 tests | Robin McCorkell | 2015-07-16 | 1 | -2/+2 |
| | |||||
* | Missing memcache should not cause occ hard-fail | Robin McCorkell | 2015-07-15 | 1 | -10/+39 |
| | | | | Warning is now printed to logs, but occ and cron will still work. | ||||
* | update license headers and authors | Morris Jobke | 2015-06-25 | 4 | -0/+8 |
| | |||||
* | Merge pull request #16832 from owncloud/memcache-fail | Joas Schilling | 2015-06-16 | 1 | -2/+15 |
|\ | | | | | Throw exception if memcache misconfigured or missing | ||||
| * | Throw exception if memcache misconfigured or missing | Vincent Petry | 2015-06-12 | 1 | -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 redis | Robin Appelman | 2015-06-12 | 1 | -30/+22 |
| | | |||||
* | | add compare-and-delete to the memcache interface | Robin Appelman | 2015-06-12 | 6 | -0/+65 |
| | | |||||
* | | compare-and-set and compare-and-delete using lua scripts for redis | Robin Appelman | 2015-06-12 | 1 | -2/+50 |
|/ | |||||
* | Null -> NullCache | Thomas Müller | 2015-06-11 | 2 | -3/+3 |
| | |||||
* | Revert "Null -> NullCache" | Thomas Müller | 2015-06-11 | 1 | -1/+1 |
| | | | | This reverts commit ff24554e76c6ccf7cdb4b5abd82fddaa8d82816c. | ||||
* | Null -> NullCache | Thomas Müller | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Check for redis to be 2.2.5+ | Joas Schilling | 2015-06-02 | 1 | -1/+2 |
| | |||||
* | add seperate config option for locking memcache backend | Robin Appelman | 2015-06-01 | 1 | -1/+22 |
| | |||||
* | Fix Null memcache fallback to match interface | Vincent Petry | 2015-06-01 | 1 | -3/+7 |
| | |||||
* | Add CAS methods to Null memcache | Vincent Petry | 2015-06-01 | 1 | -0/+12 |
| | | | | | This prevents breaking ownCloud completely when memcache is not enabled and the locking code is triggered | ||||
* | use trait for cas polyfill for xcache | Robin Appelman | 2015-04-30 | 1 | -24/+2 |
| | |||||
* | add compare and swap to memcache | Robin Appelman | 2015-04-30 | 6 | -2/+122 |
| | |||||
* | extends memcache with add, inc and dec | Robin Appelman | 2015-04-30 | 5 | -22/+232 |
| | |||||
* | Memcache\Redis Add DB Select Functionality | Michael Telatynski | 2015-04-15 | 1 | -0/+5 |
| | |||||
* | Update license headers | Jenkins for ownCloud | 2015-03-26 | 9 | -36/+178 |
| | |||||
* | Do not use APCu when apc.enabled is Off. | Andreas Fischer | 2015-03-25 | 1 | -0/+2 |
| | |||||
* | Add version and path to cache prefix | Lukas Reschke | 2015-03-17 | 1 | -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\ICache | Robin McCorkell | 2015-03-05 | 1 | -1/+1 |
| | |||||
* | Refactor \OC\Memcache\Factory | Robin McCorkell | 2015-03-05 | 1 | -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 Jobke | 2015-02-26 | 9 | -169/+45 |
| | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36. | ||||
* | Updating license headers | Jenkins for ownCloud | 2015-02-23 | 9 | -45/+169 |
| | |||||
* | Revert "add debug log for memcache instantiation" | Lukas Reschke | 2015-02-18 | 1 | -17/+5 |
| | |||||
* | Use APCu only if available in version 4.0.6 and higher | Lukas Reschke | 2015-02-17 | 1 | -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 instantiation | Jörn Friedrich Dreyer | 2015-02-16 | 1 | -5/+17 |
| | |||||
* | Add an array implementation of cache and use it if we are not debugging | Joas Schilling | 2015-02-16 | 2 | -1/+72 |
| | |||||
* | Json_(en|de)code values on redis to be able to cache arrays | Joas Schilling | 2015-01-20 | 1 | -4/+4 |
| | |||||
* | Add Null memcacher | Robin McCorkell | 2015-01-09 | 2 | -2/+37 |
| | |||||
* | HHVM: In APC cache clear, only request the cache key in APCIterator. | Andreas Fischer | 2014-12-19 | 1 | -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_cache | Morris Jobke | 2014-12-19 | 2 | -1/+97 |
|\ | | | | | Add Redis cache implementation, prefer over memcached, tests & config sample doc | ||||
| * | Add Redis cache implementation, prefer over memcached, tests & config sample | Jörn Friedrich Dreyer | 2014-12-10 | 2 | -1/+97 |
| | | |||||
* | | HHVM: Add workaround for missing Memcached::deleteMulti() | Andreas Fischer | 2014-12-17 | 1 | -1/+7 |
|/ | |||||
* | Memcache\Factory: Remove static, use globalPrefix. | Andreas Fischer | 2014-07-29 | 1 | -2/+3 |
| | |||||
* | Memcached hasKey should test for success, the get can fail for other reasons. | Bart Visscher | 2014-05-08 | 1 | -1/+1 |
| | | | | One of the other failures is no running server. | ||||
* | Merge branch 'master' into scrutinizer_documentation_patches | Thomas Müller | 2014-02-14 | 1 | -2/+10 |
|\ | | | | | | | | | Conflicts: lib/private/appconfig.php | ||||
| * | Merge pull request #6247 from owncloud/memcached-multiple-servers | Andreas Fischer | 2014-02-08 | 1 | -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 Fischer | 2014-01-10 | 1 | -1/+9 |
| | | | |||||
| | * | Add support for multiple memcached servers. | Andreas Fischer | 2014-01-10 | 1 | -2/+2 |
| | | | |||||
* | | | polish documentation based on scrutinizer patches | Jörn Friedrich Dreyer | 2014-02-06 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #6647 from owncloud/memcache-public | icewind1991 | 2014-02-04 | 4 | -28/+25 |
|\ \ | | | | | | | Add Memcache to the public api | ||||
| * | | Fix some phpdoc errors and rename interface | Robin Appelman | 2014-01-24 | 1 | -1/+3 |
| | | | |||||
| * | | Remove the static dependency on OC_Util from Memcache | Robin Appelman | 2014-01-06 | 2 | -1/+14 |
| | | | |||||
| * | | Use APCIterator for Memcache\APC::clear() | Robin Appelman | 2014-01-06 | 2 | -26/+8 |
| |/ | |||||
* / | Add check for apc.enabled option | Otto Sabart | 2014-01-24 | 1 | -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::clear | Robin Appelman | 2014-01-02 | 1 | -1/+1 |
| | | | | see http://www.php.net/manual/en/apciterator.construct.php |