• sjaakola's avatar
    MDEV-26803 PA unsafety with FK cascade delete operation · c1846c4f
    sjaakola authored
    This commit has a mtr test where two two transactions delete a row from
    two separate tables, which will cascade a FK delete for the same row in
    a third table. Second replica node is configured with 2 applier threads,
    and the test will fail if these two transactions are applied in parallel.
    
    The actual fix, in this commit, is to mark a transaction as unsafe for
    parallel applying when it traverses into cascade delete operation.
    Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
    c1846c4f
ha_innodb.cc 620 KB