• Kristian Nielsen's avatar
    MDEV-8113: Parallel slave: slave hangs on ALTER TABLE (or other DDL) as the... · 8bedb638
    Kristian Nielsen authored
    MDEV-8113: Parallel slave: slave hangs on ALTER TABLE (or other DDL) as the first event after slave start
    
    In optimistic parallel replication, it is not safe to try to run a following
    transaction in parallel with a DDL statement, and there is code to prevent
    this.
    
    However, the code was missing the case where the DDL is the very first event
    after slave start. In this case, following transactions could run in
    parallel with the DDL, which can cause the slave to hang or even corrupt
    slave in unlucky cases.
    8bedb638
rpl_parallel_optimistic.result 10.4 KB