Resolve "The batched migrations should enforce requirements"
A transaction should not be open when we enqueue/finalize a batched background migration. We have added an extra condition to queue_batched_background_migration
and finalize_batched_background_migration
that validates this assumption.
If a transaction is open, the system raises an exception.
Related to #362268 (closed)
Edited by Diogo Frazão