• Jan Lindström's avatar
    MDEV-15611 Due to the failure of foreign key detection, Galera slave node killed himself. · c69357d8
    Jan Lindström authored
    Merge following change from 10.2
    
    revision-id: d52cff9f10aeea208a1058f7b5527e602125584c (mariadb-10.2.14-25-gd52cff9)
    parent(s): bc250145
    author: Sachin Setiya
    committer: Sachin Setiya
    timestamp: 2018-04-04 12:26:06 +0530
    message:
    
    MDEV-15611 Due to the failure of foreign key detection, Galera...
    slave node killed himself.
    
    Problem:- If we try to delete table with foreign key and table whom it is
    referring with wsrep_slave_threads>1 then galera tries to execute both
    Delete_rows_log-event in parallel, which should not happen.
    
    Solution:- This is happening because we do not have foreign key info in
    write set. Upto version 10.2.7 it used to work fine. Actually it happening
    because of issue in commit 2f342c45. wsrep_must_process_fk should be used
    with negation.
    c69357d8
galera_mdev_15611.test 592 Bytes