Data migrations are not transactional (except on Postgres)
|Reported by:||shai||Owned by:||nobody|
|Severity:||Release blocker||Keywords:||oracle mysql sqlite|
|Cc:||aaugustin, andrewgodwin||Triage Stage:||Accepted|
|Has patch:||no||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||no|
In e74d2183c28467aefc0b87e3fa6d405dbfdea82c (master) and 9bf890f6f9d137d5b86fd9a6a38fb11c5d21b1af (1.7.x) schema editor was made not to open transactions for backends that cannot roll back DDL. However, there is nothing else that starts transactions in migrations, even if they are data migrations -- so now, of the backends in core, migrations are only transactional on PostgreSQL.
This is a spin-off from #22483.
Change History (6)
comment:5 Changed 16 months ago by Andrew Godwin <andrew@…>
- Resolution set to fixed
- Status changed from new to closed