#27683: Change default transaction isolation level to READ COMMITTED on MySQL
-------------------------------------+-------------------------------------
Reporter: Shai Berger | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam Chainz):
An alternative to changing the default would be to have a system check
highly recommending READ-COMMITTED, similar to what we do for MySQL's
`sql_mode` (see
https://github.com/django/django/blob/master/django/db/backends/mysql/validation.py#L6
). This would also help educate users a bit more about the change.
Possibly this could be part of a path to changing the default... "Warning:
In Django 2.1 the default tx_isolation will change..."
--
Ticket URL: <https://code.djangoproject.com/ticket/27683#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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.a66bcfbb7a45400eb242e71f0b073c0d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.