revert: removing read_committed argument from outer_atomic function (#28161)
In the PR https://github.com/edx/edx-platform/pull/10659 the outer_atomic decorator/context manager was created to prevent nested atomic blocks. This method received a boolean parameter read_committed to enforce read-committed MySQL isolation level. From Django 2, the default isolation level Django sets is read-committed, so the aforementioned parameter for outer_atomic can be removed
Showing
- common/djangoapps/course_modes/views.py 1 addition, 1 deletioncommon/djangoapps/course_modes/views.py
- common/djangoapps/student/views/management.py 1 addition, 1 deletioncommon/djangoapps/student/views/management.py
- common/djangoapps/util/db.py 4 additions, 16 deletionscommon/djangoapps/util/db.py
- common/djangoapps/util/tests/test_db.py 0 additions, 75 deletionscommon/djangoapps/util/tests/test_db.py
- lms/djangoapps/verify_student/views.py 1 addition, 1 deletionlms/djangoapps/verify_student/views.py
- openedx/core/djangoapps/user_authn/views/register.py 1 addition, 1 deletionopenedx/core/djangoapps/user_authn/views/register.py
Please register or sign in to comment