Does row-based replication with "binlog_row_image=minimal" cause issues when ALTER TABLE reorders columns?
Parallel replication allows concurrent transactions out of order, but does not allow concurrent non-transactional updates. Certain SQL statements — including DDL statements — cannot be rolled back, so they cause a &quot;barrier&quot; such that they wait until all parallel workers catch up, and workers are blocked from executing changes after the non-transactional change.
This means there's no race condition. DDL effectively forces a kind of &quot;synchronization&quot;.