Changes between Initial Version and Version 1 of Ticket #31632, comment 1
- Timestamp:
- May 26, 2020, 4:03:55 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31632, comment 1
initial v1 1 1 > We ended up rolling back but now, taking a better look, we pinned the change to this PR and the fact that our MySQL instance has the global autocommit set to 0. 2 2 3 Just to make sure, does that mean your server was configured to disable autocommit but [https://docs.djangoproject.com/en/3.0/topics/db/transactions/#deactivate-transaction-management you didn't disable Django's transaction management]? That could certainly lead to strange behaviour if Django thinks it's in autocommit mode but it actually isn't. The documentation is also pretty clear about why [https://docs.djangoproject.com/en/3.0/topics/db/transactions/#why-django-uses-autocommit this setup is not recommended].3 Just to make sure, does that mean your server was configured to disable autocommit but [https://docs.djangoproject.com/en/3.0/topics/db/transactions/#deactivate-transaction-management you didn't disable Django's transaction management]? That could certainly lead to strange behaviour if Django thinks it's in autocommit mode but it actually isn't. The documentation is also pretty clear about why [https://docs.djangoproject.com/en/3.0/topics/db/transactions/#why-django-uses-autocommit this setup is not recommended].