Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MCOL-5603 Online alter can break data consistency
Propagate the TL lock to TL_READ_NO_INSERT, blocking any concurrent writes until the end of a copy stage. After that, this lock will be unlocked, allowing a window to write into a table before MDL is upgraded to exclusive (see online_alter_read_from_binlog call and the "alter_table_online_before_lock" debug syncpoint). This window will be covered by the second replication iteration after the lock upgrade
- Loading branch information