From 8e838d9c869083597dc9e161ae2fe37acaa90de9 Mon Sep 17 00:00:00 2001 From: Emre Yilmaz Date: Wed, 2 Dec 2015 12:34:31 +0200 Subject: Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend. This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None. --- docs/releases/1.9.1.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/1.9.1.txt b/docs/releases/1.9.1.txt index cdf7bb35ca..91a0f33a2a 100644 --- a/docs/releases/1.9.1.txt +++ b/docs/releases/1.9.1.txt @@ -9,4 +9,5 @@ Django 1.9.1 fixes several bugs in 1.9. Bugfixes ======== -* ... +* Fixed ``BaseCache.get_or_set()`` with the ``DummyCache`` backend + (:ticket:`25840`). -- cgit v1.3