diff options
| author | Michael Sanders <michael.sanders@arm.com> | 2018-08-01 10:52:28 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-08-02 17:25:15 -0400 |
| commit | 4441826026c888a479d5262d47fbbd72a689efa8 (patch) | |
| tree | 6afd9604866247c69f8cfa13b34b5804ce700e1b /docs | |
| parent | e7dffda16729e79194813427c775c94f141f127c (diff) | |
[2.0.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
Backport of 271542dad1686c438f658aa6220982495db09797 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.11.16.txt | 13 | ||||
| -rw-r--r-- | docs/releases/2.0.9.txt | 13 | ||||
| -rw-r--r-- | docs/releases/index.txt | 2 |
3 files changed, 28 insertions, 0 deletions
diff --git a/docs/releases/1.11.16.txt b/docs/releases/1.11.16.txt new file mode 100644 index 0000000000..04335f9439 --- /dev/null +++ b/docs/releases/1.11.16.txt @@ -0,0 +1,13 @@ +============================ +Django 1.11.16 release notes +============================ + +*Expected September 1, 2018* + +Django 1.11.16 fixes a data loss bug in 1.11.15. + +Bugfixes +======== + +* Fixed a race condition in ``QuerySet.update_or_create()`` that could result + in data loss (:ticket:`29499`). diff --git a/docs/releases/2.0.9.txt b/docs/releases/2.0.9.txt new file mode 100644 index 0000000000..2def94ef73 --- /dev/null +++ b/docs/releases/2.0.9.txt @@ -0,0 +1,13 @@ +========================== +Django 2.0.9 release notes +========================== + +*Expected September 1, 2018* + +Django 2.0.9 fixes a data loss bug in 2.0.8. + +Bugfixes +======== + +* Fixed a race condition in ``QuerySet.update_or_create()`` that could result + in data loss (:ticket:`29499`). diff --git a/docs/releases/index.txt b/docs/releases/index.txt index 516830f098..9095bbc9a8 100644 --- a/docs/releases/index.txt +++ b/docs/releases/index.txt @@ -25,6 +25,7 @@ versions of the documentation contain the release notes for any later releases. .. toctree:: :maxdepth: 1 + 2.0.9 2.0.8 2.0.7 2.0.6 @@ -40,6 +41,7 @@ versions of the documentation contain the release notes for any later releases. .. toctree:: :maxdepth: 1 + 1.11.16 1.11.15 1.11.14 1.11.13 |
