File: galera_2_cluster.result

package info (click to toggle)
mariadb 1%3A11.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 765,428 kB
  • sloc: ansic: 2,382,827; cpp: 1,803,532; asm: 378,315; perl: 63,176; sh: 46,496; pascal: 40,776; java: 39,363; yacc: 20,428; python: 19,506; sql: 17,864; xml: 12,463; ruby: 8,544; makefile: 6,059; cs: 5,855; ada: 1,700; lex: 1,193; javascript: 1,039; objc: 80; tcl: 73; awk: 46; php: 22
file content (118 lines) | stat: -rw-r--r-- 3,920 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
connection node_2;
connection node_1;
connect node_6, 127.0.0.1, root, , test, $NODE_MYPORT_6;
connect node_5, 127.0.0.1, root, , test, $NODE_MYPORT_5;
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
connection node_4;
START SLAVE;
include/wait_for_slave_to_start.inc
connection node_1;
CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, c2 INTEGER);
INSERT INTO t1(c2) VALUES(1);
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
connection node_3;
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
1
connection node_1;
include/save_master_gtid.inc
connection node_4;
include/sync_with_master_gtid.inc
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
1
connection node_6;
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
1
connection node_2;
ALTER TABLE t1 ADD COLUMN t3 INTEGER;
Node 2 column number AFTER ALTER
SELECT COUNT(*) = 3 FROM information_schema.columns WHERE table_name ='t1';
COUNT(*) = 3
1
connection node_3;
Node 3 column number AFTER ALTER
SELECT COUNT(*) = 3 FROM information_schema.columns WHERE table_name ='t1';
COUNT(*) = 3
1
connection node_1;
include/save_master_gtid.inc
connection node_4;
include/sync_with_master_gtid.inc
Node 4 column number AFTER ALTER
SELECT COUNT(*) = 3 FROM information_schema.columns WHERE table_name ='t1';
COUNT(*) = 3
1
connection node_6;
Node 6 column number AFTER ALTER
SELECT COUNT(*) = 3 FROM information_schema.columns WHERE table_name ='t1';
COUNT(*) = 3
1
connection node_2;
connection node_1;
connection node_3;
connection node_4;
connection node_5;
connection node_6;
connection node_2;
OPTIMIZE TABLE t1;
Table	Op	Msg_type	Msg_text
test.t1	optimize	note	Table does not support optimize, doing recreate + analyze instead
test.t1	optimize	status	OK
Warnings:
Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the slave
connection node_1;
connection node_3;
connection node_4;
connection node_5;
connection node_6;
connection node_1;
DROP TABLE t1;
connection node_4;
STOP SLAVE;
RESET SLAVE;
Warnings:
Note	4190	RESET SLAVE is implicitly changing the value of 'Using_Gtid' from 'Current_Pos' to 'Slave_Pos'
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
SET GLOBAL GTID_SLAVE_POS="";
connection node_1;
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
connection node_2;
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
connection node_3;
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
connection node_5;
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
connection node_6;
SET GLOBAL wsrep_on = OFF;
RESET MASTER;
SET GLOBAL wsrep_on = ON;
connection node_1;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
connection node_2;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
connection node_3;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
connection node_4;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
connection node_5;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");
connection node_6;
CALL mtr.add_suppression("Ignoring server id .* for non bootstrap node");
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since ");