#34072: django += 1 increments by 2 instead of 1
-------------------------------------+-------------------------------------
Reporter: kaushik kothiya | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: ASGI, Channel, ORM, | Triage Stage:
F Expiration, Race Condition | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for this ticket, however Trac is not a support channel and it's a
support question. You can use `select_for_update()` to protect yourself
against the race conditions (it's already mentioned in Stack Overflow's
answers). Closing per TicketClosingReasons/UseSupportChannels.
--
Ticket URL: <https://code.djangoproject.com/ticket/34072#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070183ac8746a5-5d80dca2-df2e-4982-9c1b-1e3bd0412ef3-000000%40eu-central-1.amazonses.com.