mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
d388e7eb86
This commit sends a flag indicating the presence of the "--bypass" option from the donor node to the joiner nodes during rsync IST, because without such a flag it is impossible to distinguish IST from the SST on the joiner nodes (in IST/SST scripts, because the "--bypass" option is still not passed to scripts from server code). Specifically, this fixes an issue with binary logs disappearing after IST (via rsync). There are also changes to diagnostic messages here that will make it easier to diagnose script-related problems in the future when debugging and when checking the logs. This commit also adds more robust signal handlers - to handle exceptions during script execution. These handlers won't mask some crashes and it also unifies exit codes between different scripts. These changes have already been helpful to debugging "bypass" flag handling.
18 lines
573 B
Text
18 lines
573 B
Text
# MDEV-28583: Galera: binlogs disappear after rsync IST
|
|
|
|
--source include/big_test.inc
|
|
--source include/galera_cluster.inc
|
|
--source include/have_innodb.inc
|
|
--source include/have_mariabackup.inc
|
|
|
|
--let $node_1=node_1
|
|
--let $node_2=node_2
|
|
--source include/auto_increment_offset_save.inc
|
|
|
|
--source suite/galera/include/galera_st_disconnect_slave.inc
|
|
--source suite/galera/include/galera_st_shutdown_slave.inc
|
|
|
|
--source suite/galera/include/galera_st_kill_slave.inc
|
|
--source suite/galera/include/galera_st_kill_slave_ddl.inc
|
|
|
|
--source include/auto_increment_offset_restore.inc
|