Debian Codegraph @

mysql-test/suite/galera/r/galera_var_cluster_address.result

raw
1 connection node_2;
2 connection node_1;
3 connection node_1;
4 connection node_2;
5 connection node_2;
6 SET GLOBAL wsrep_cluster_address = 'foo://';
7 SHOW STATUS;
8 ERROR HY000: Lock wait timeout exceeded; try restarting transaction
9 SET SESSION wsrep_sync_wait=0;
10 SELECT COUNT(*) > 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS;
11 COUNT(*) > 0
12 1
13 SHOW STATUS LIKE 'wsrep_ready';
14 Variable_name Value
15 wsrep_ready OFF
16 SHOW STATUS LIKE 'wsrep_cluster_status';
17 Variable_name Value
18 wsrep_cluster_status Disconnected
19 SHOW STATUS LIKE 'wsrep_local_state';
20 Variable_name Value
21 wsrep_local_state 0
22 SHOW STATUS LIKE 'wsrep_local_state_comment';
23 Variable_name Value
24 wsrep_local_state_comment Initialized
25 connection node_1;
26 SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
27 VARIABLE_VALUE = 1
28 1
29 SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
30 VARIABLE_VALUE = 'Primary'
31 1
32 connection node_2;
33 connection node_1;
34 SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
35 VARIABLE_VALUE = 'Primary'
36 1
37 SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
38 VARIABLE_VALUE = 2
39 1
40 connection node_2;
41 CALL mtr.add_suppression("Backend not supported: foo");
42 CALL mtr.add_suppression("Failed to initialize backend using 'foo");
43 CALL mtr.add_suppression("Failed to open channel 'my_wsrep_cluster' at 'foo");
44 CALL mtr.add_suppression("gcs connect failed: Socket type not supported");
45 CALL mtr.add_suppression("wsrep::connect\\(\\) failed: 7");
46 CALL mtr.add_suppression("gcs_caused\\(\\) returned -[0-9]+ \\(Software caused connection abort\\)");
47 CALL mtr.add_suppression("failed to open gcomm backend connection: 110: failed to reach primary view: 110");
48 CALL mtr.add_suppression("Failed to open backend connection: -110 \\(Connection timed out\\)");
49 CALL mtr.add_suppression("gcs connect failed: Connection timed out");
50 CALL mtr.add_suppression("WSREP: wsrep::connect\\(foo://\\) failed: 7");
51 CALL mtr.add_suppression("WSREP: wsrep::connect\\(gcomm://.*\\) failed: 7");
52 disconnect node_2;
53 disconnect node_1;
54 # End of test