Sam Hemelryk
63b159d0d4
MDL-48568 cache: stores now determine testing
...
Cache stores are now responsible for deciding if they are suitable
for use as the primary cache store during unit and acceptance tests
Changes are as follows:
* New method: cache_store::ready_to_be_used_for_testing
* Core cache store have been updated to override this method as
required.
* MongoDB usesafe default changed to true to match actual default
behaviour.
2014-12-12 09:30:46 +13:00
Sam Hemelryk
c1fb8f6d2e
MDL-46151 cachestore_memcache: now checks extension version for support
2014-10-14 08:27:45 +13:00
Eric Merrill
e75becf3b3
MDL-46796 caching: Fix missing property error for memcache(d)
2014-08-13 08:24:04 -04:00
Sam Hemelryk
ed2de2ecc7
MDL-45724 cache: fixed warning structure bug
2014-07-23 15:24:59 +12:00
Sam Hemelryk
727c21733e
MDL-45724 cache: admin screen now shows store warnings
...
Implemented a means by which cache store instance can communicate
warnings due to things such as conflicting configurations etc.
2014-07-18 08:29:41 +12:00
Eric Merrill
7abaa5f46c
MDL-42071 caching Support for clustered memcache caching
...
For stores where there is a very high rate of sets compared to gets, it
is beneficial to retrieve from the local server, skipping the network
overhead, at the expense of having to set many severs when a key is set.
This patch adds a memcache option to enable clustering. When on, only
one "server" is allowed, which will be where fetches are from, while
sets/updates/deletes/purges will occur to the all the servers in the
"set server" list.
To run unit tests, define TEST_CACHESTORE_MEMCACHE_TESTSERVERS with
multiple (return delimited) servers.
2014-06-29 23:02:31 -04:00
Sam Hemelryk
eefb680d8e
MDL-45513 cache: implemented defines for unit testing alternative caches
2014-05-30 08:41:07 +12:00
Michael Aherne
90a3a62096
MDL-44066 caching Don't advertise session mode for MongoDB and memcached
2014-02-05 10:48:22 +00:00
Jean-Philippe Gaudreau
353643d33f
MDL-41246 cache: Fix PHP notice of non well formed numeric values for the memcache store
2013-12-18 08:52:08 -05:00
sam marshall
5c138b258d
MDL-42839 MUC: Memcache server configuration too sensitive to whitespace
2013-11-12 12:33:36 +00:00
Matteo Scaramuccia
a94bc886bb
MDL-41410 Caching: move comment to the appropriate place.
...
MDL-38162 fixes the issue about testing the connection to the memcached
daemon, which means testing once the connection to the pool of servers
and not to each of the servers while being added to the pool.
It misses to move the comment to that code too.
2013-08-25 14:00:47 +02:00
Sam Hemelryk
7dfa10b02e
MDL-40700 cache: memcache and memcached stores now allow alphanumext prefixes
2013-07-22 10:41:38 +12:00
Dan Poltawski
ac15fc95fa
Merge branch 'MDL-39448-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
cache/stores/memcache/version.php
2013-05-07 11:43:23 +01:00
sam marshall
cb86f1ebb3
MDL-39472 MUC: Improve parse_key performance
2013-05-02 16:04:29 +01:00
sam marshall
c797c995a0
MDL-39448 MUC: Memcache configurable key names
2013-05-01 14:29:11 +01:00
Sam Hemelryk
4af3d7e7a3
MDL-38205 cache: implemented key prefix in memcache plugin
2013-03-01 10:11:45 +13:00
Sam Hemelryk
ff6f9d3aa6
MDL-38162 memcache: fixed up the memcache plugins
2013-02-22 14:23:18 +13:00
Sam Hemelryk
bb4c391688
MDL-37645 cache: fixed issue deleting mongo instance
2013-02-08 08:06:21 +13:00
Sam Hemelryk
65b3edc450
MDL-36322 cache: cache stores now test connections during construction
2013-02-01 08:49:03 +13:00
Matteo Scaramuccia
f4cec2ec87
MDL-36322 Errors when updating a Moodle instance with some misconfigured cache stores
2013-02-01 08:49:03 +13:00
Sam Hemelryk
a037c943bd
MDL-36363 cache: clean up pre-integration
2013-01-28 10:39:23 +13:00
Matteo Scaramuccia
59ca73ff82
MDL-36363 Override instance_deleted() for all cache stores performing just a cleanup() when this action successfully applies over all the definitions of the cache store
2013-01-28 10:39:23 +13:00
Sam Hemelryk
2b274ad001
MDL-36819 cache: implemented cache_is_configurable interface
2012-11-26 14:27:44 +13:00
Sam Hemelryk
75cde6b9ac
MDL-36768 cache: replaced cache_store interface with abstract class
2012-11-26 14:11:01 +13:00
Sam Hemelryk
bd188851f2
MDL-36768 cache: Implemented abstract cache store base class
2012-11-26 08:12:45 +13:00
Sam Hemelryk
758dbdf894
MDL-36111 cache: Fixed up typo's and trivial issues
2012-11-12 10:36:53 +13:00
Sam Hemelryk
81ede547f2
MDL-36381 cache: fixed bug whereby you couldn't edit store instances
2012-11-08 10:54:11 +13:00
Sam Hemelryk
42f5d1648d
MDL-25290 cache: Fixed up memcache server settings and a couple of minor things
2012-10-08 09:53:52 +13:00
Sam Hemelryk
34c84c723a
MDL-25290 cache: Added cache locking plugin and converted locking implementations to that
2012-10-08 09:53:51 +13:00
Sam Hemelryk
6fec18203b
MDL-25290 cache: Renamed plugin from cache => cachestore
2012-10-08 09:53:51 +13:00
Sam Hemelryk
e3b77f9f57
MDL-25290 cache_memcache: Added Memcache cache store
2012-10-08 09:53:51 +13:00