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/ref | |
| 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/ref')
0 files changed, 0 insertions, 0 deletions
