• Daniele Sciascia's avatar
    MDEV-15948 Fix error "Lost connection to MySQL server..." in test galera_sst_mysqldump · 9e5671f1
    Daniele Sciascia authored
    Test galera_sst_mysqldump often fails with error "2013: Lost connection
    to MySQL server during query". The connection is lost after the test
    restart one of the nodes. This happens because the server closes client
    connections if it is joining a cluster through SST method mysqldump.
    On unlucky runs of the test it is possible that mysqld is restarted,
    and then mtr client is disconnected while it tries to determine if
    galera is ready before going on with the test.
    This patch rewrites galera_wait_ready.inc so that it is immune to
    being disconnected.
    9e5671f1
galera_wait_ready.inc 628 Bytes