mariadb/mysql-test/suite/galera
Daniele Sciascia 3aa5f00e69 MDEV-15929 Fix lock wait timeout on SELECT @@GLOBAL.WSREP_ON
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.
2018-04-19 10:48:29 +02:00
..
include MDEV-15929 Fix lock wait timeout on SELECT @@GLOBAL.WSREP_ON 2018-04-19 10:48:29 +02:00
r Merge pull request #700 from codership/MDEV-15804 2018-04-11 16:19:59 +03:00
t Merge pull request #700 from codership/MDEV-15804 2018-04-11 16:19:59 +03:00
disabled.def Merge pull request #700 from codership/MDEV-15804 2018-04-11 16:19:59 +03:00
galera_2nodes.cnf Merge remote-tracking branch 'origin/10.0-galera' into 10.1 2017-08-21 13:35:00 +03:00
galera_2nodes_as_master.cnf Merge remote-tracking branch 'origin/10.0-galera' into 10.1 2017-08-21 13:35:00 +03:00
galera_2nodes_as_master_slave.cnf MW-86 Adjust MTR tests for changes to wsrep_sync_wait 2017-08-14 11:42:13 +03:00
galera_2nodes_as_master_with_repl_filter.cnf MW-86 Adjust MTR tests for changes to wsrep_sync_wait 2017-08-14 11:42:13 +03:00
galera_2nodes_as_slave.cnf Merge remote-tracking branch 'origin/10.0-galera' into 10.1 2017-08-21 13:35:00 +03:00
galera_3nodes_as_slave.cnf MW-86 Adjust MTR tests for changes to wsrep_sync_wait 2017-08-14 11:42:13 +03:00
galera_4nodes.cnf Merge remote-tracking branch 'origin/10.0-galera' into 10.1 2017-08-21 13:35:00 +03:00
my.cnf cleanup: remove galera/wsrep magic from mtr 2014-10-01 23:38:27 +02:00
suite.pm MDEV-15409 make sure every sst script is tested in buildbot 2018-03-23 00:55:20 +01:00