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:17:12 -0400 |
| commit | 221ef69a9b89262456bb7abe0e5a4b2fda4a0695 (patch) | |
| tree | 4b396a451cdc6e15d90bb329fdaad29e0699ae15 /docs/ref/models | |
| parent | adfd2614045518cc9221aef1f17fd3ffeac3d2cc (diff) | |
[2.1.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/ref/models')
0 files changed, 0 insertions, 0 deletions
