• Nirbhay Choubey's avatar
    MTR: rsync process is left running if pid file is removed · c78fc8b1
    Nirbhay Choubey authored
    MTR drops the datadir in the event of a test failure. In case mysqld
    is running as a Galera node and a failure occurs while the SST is in
    progress, the rsync pid file gets removed as part of the cleanup and
    wsrep_sst_rsync, which relies on this file, fails to kill the rsync.
    Fixed by using the cached $RSYNC_REAL_PID to kill rsync daemon.
    c78fc8b1
wsrep_sst_rsync.sh 10.2 KB