You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow DML in REPEATABLE READ transactions but perform safety checks (#8561)
- In conflicts.py, implement analysis for what inserts and updates
affect a cross-table constraint
- Plumb that information out into the QueryUnit and to the server
- Report the conflicts as part of CommandDataDescription in an
annotation called `unsafe_isolation_dangers`, so clients can
potentially make proactive decisions.
- Raise an error when attempting to execute something with isolation
dangers in REPEATABLE READ mode.
There are still a few follow-ups before I can merge, but this is
reviewable now:
- [x] Write tests
- [x] Follow-up on some possible bugs I found in the conflict mechanism
that might have wider scope once this is implemented.
- [x] Improve some documentation
Advances #8458.
0 commit comments