Changes between Initial Version and Version 1 of Ticket #31632, comment 1


Ignore:
Timestamp:
May 26, 2020, 4:03:55 PM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31632, comment 1

    initial v1  
    11> 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.
    22
    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'stransaction 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].
     3Just 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].
Back to Top