summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Manfre <mmanfre@gmail.com>2014-11-06 23:47:04 -0500
committerMichael Manfre <mmanfre@gmail.com>2014-11-13 00:46:03 -0500
commitbc8abe36ba5508fe788f6d49a26749268d368583 (patch)
tree8ba53f287e0fef913f60905a20abf34fa6db011b /docs
parentbfb11b95626f39e2f5e18d97d7761c6f93dcc1a9 (diff)
Fixed #16358 - Made memcache backend delete old value on a failure to set.
Default Memcached configuration allows for a maximum object of 1MB and will fail to set the key if it is too large. The key will be deleted from memcached if it fails to be set. This is needed to avoid an issue with cache_db session backend using the old value stored in memcached, instead of the newer value stored in the database.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index d3232d8235..fec2e2b4bc 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -729,6 +729,10 @@ Miscellaneous
.. _universal newlines: http://www.python.org/dev/peps/pep-0278
+* The Memcached cache backends ``MemcachedCache`` and ``PyLibMCCache`` will
+ delete a key if ``set()`` fails. This is necessary to ensure the ``cache_db``
+ session store always fetches the most current session data.
+
.. _deprecated-features-1.8:
Features deprecated in 1.8