mirror of
https://github.com/MariaDB/server.git
synced 2025-04-11 09:45:32 +02:00

Fix a regression that caused assertion thd->is_error() after
sync wait failures. If wsrep_sync_wait() fails make sure a appropriate
error is set. Partially revert 75dd0246f8
.
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
16 lines
703 B
Text
16 lines
703 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
|
|
SET SESSION wsrep_sync_wait=0;
|
|
SET SESSION wsrep_sync_wait=DEFAULT;
|
|
DELETE FROM mysql.wsrep_streaming_log;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
SET SESSION wsrep_sync_wait=0;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
|
|
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
|
|
VARIABLE_VALUE
|
|
Primary
|
|
SET SESSION wsrep_sync_wait=DEFAULT;
|
|
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender (.*) is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
|