diff options
| author | Emre Yilmaz <emre.yilmaz@markafoni.com> | 2015-12-02 12:34:31 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-04 12:28:34 -0500 |
| commit | 9733ff5f991356ac98d499f24f2241141863a555 (patch) | |
| tree | 423497aeef1f25ad33d87d4713768eb343e9a3e9 /docs | |
| parent | dcac10061245bbbe00d574194e9b4aebd67e0ac6 (diff) | |
[1.9.x] 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.
Backport of 8e838d9c869083597dc9e161ae2fe37acaa90de9 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.9.1.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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`). |
