mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 09:04:29 +02:00
This patch fixes a lock wait timeout error on `SELECT @@GLOBAL.WSREP_ON` in `wait_wsrep_ready.inc`: ``` --connection node_2 ... --source include/kill_galera.inc --connection node_1 --source include/wait_until_connected_again.inc # This includes wait_wsrep_ready.inc ``` The problem is that on node_2, kill_galera.inc may return before the node is killed. So node_1 may still see that node_1 is alive and will attempt to sync wait when doing those `SELECT` statements. But sync wait is doomed to fail given that node_1 is killed, hence the lock wait timeout. One possible fix is to disable wsrep_sync_wait before including wait_until_connected_again. However, it appears that including wait_until_connected_again is not necessary at all in node_1, so this patch removes it altogether. |
||
|---|---|---|
| .. | ||
| auto_increment_offset_restore.inc | ||
| auto_increment_offset_save.inc | ||
| galera_have_debug_sync.inc | ||
| galera_load_provider.inc | ||
| galera_reset_cluster_address.inc | ||
| galera_resume.inc | ||
| galera_sst_restore.inc | ||
| galera_sst_set_mysqldump.inc | ||
| galera_st_clean_slave.inc | ||
| galera_st_disconnect_slave.inc | ||
| galera_st_kill_slave.inc | ||
| galera_st_kill_slave_ddl.inc | ||
| galera_st_shutdown_slave.inc | ||
| galera_unload_provider.inc | ||
| galera_wsrep_recover.inc | ||
| have_mariabackup.inc | ||
| have_wsrep_replicate_myisam.inc | ||
| have_xtrabackup.inc | ||
| kill_galera.inc | ||
| print_gtid.inc | ||
| shutdown_mysqld.inc | ||
| start_mysqld.inc | ||