File: rpl_half_atomic_ddl.result

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (290 lines) | stat: -rw-r--r-- 14,896 bytes parent folder | download
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
[connection master]
[connection slave]
call mtr.add_suppression("The replica coordinator and worker threads are stopped");
call mtr.add_suppression("Replica worker thread has failed to apply an event");
call mtr.add_suppression("Error writing relay log configuration");
call mtr.add_suppression("Table 't_2' already exists");
call mtr.add_suppression("Operating system error number .* in a file operation");
call mtr.add_suppression("Cannot open datafile for read-onl");
call mtr.add_suppression("The error means the system cannot");
[connection master]
CREATE DATABASE master_db;
USE master_db;
CREATE TABLE IF NOT EXISTS t_checks (id INT AUTO_INCREMENT NOT NULL PRIMARY KEY,  ddl_query TEXT,  pre_binlog_check TEXT, post_binlog_check TEXT);;
USE test;
include/sync_slave_sql_with_master.inc
include/stop_slave_sql.inc
[connection master]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLE t_2 (a int auto_increment primary key);
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE t_2 ADD COLUMN b INT NOT NULL, ALGORITHM=COPY, COMMENT 'Col b copy-added';
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE t_2 ADD INDEX idx(b), ALGORITHM= INPLACE, COMMENT 'Index on b inplace-added';
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE t_2 RENAME t_3;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
RENAME TABLE t_3 TO t_2 /* Name restored */;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
INSERT INTO t_2 SET a=1,b=1;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
TRUNCATE TABLE t_2;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLESPACE ts_0 ADD DATAFILE 'ts_0.ibd';
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLESPACE ts_0;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE DATABASE db_0 DEFAULT COLLATE latin1_general_ci;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER DATABASE db_0 DEFAULT COLLATE utf8mb3_general_ci;
Warnings:
Warning	3778	'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP DATABASE db_0;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLE t_2;
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Rotate	#	#	master-bin.000002;pos=POS
include/gtid_step_assert.inc [count=1, only_count=0]
[connection slave]
include/start_slave_io.inc
Warnings:
Note	3083	Replication thread(s) for channel '' are already runnning.
[connection master]
include/sync_slave_io_with_master.inc
[connection slave]
include/stop_slave_io.inc
CREATE TABLE t_2 (a int);
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/wait_for_slave_sql_error.inc [errno=1050]
DROP TABLE t_2;
[connection master]
Loop: 1 out of 13; current query: 'CREATE TABLE t_2 (a int auto_increment primary key)'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.tables WHERE table_name = 't_2'';
[connection slave]
*** Query: 'CREATE TABLE t_2 (a int auto_increment primary key)'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 2 out of 13; current query: 'ALTER TABLE t_2 ADD COLUMN b INT NOT NULL, ALGORITHM=COPY, COMMENT 'Col b copy-added''; pre-binlog check: ''; pre-commit check: 'select TABLE_COMMENT LIKE 'Col b copy-added' FROM information_schema.tables where table_name = 't_2'';
[connection slave]
*** Query: 'ALTER TABLE t_2 ADD COLUMN b INT NOT NULL, ALGORITHM=COPY, COMMENT 'Col b copy-added''. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 3 out of 13; current query: 'ALTER TABLE t_2 ADD INDEX idx(b), ALGORITHM= INPLACE, COMMENT 'Index on b inplace-added''; pre-binlog check: ''; pre-commit check: 'select TABLE_COMMENT LIKE 'Index on b inplace-added' FROM information_schema.tables where table_name = 't_2'';
[connection slave]
*** Query: 'ALTER TABLE t_2 ADD INDEX idx(b), ALGORITHM= INPLACE, COMMENT 'Index on b inplace-added''. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 4 out of 13; current query: 'ALTER TABLE t_2 RENAME t_3'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.tables WHERE table_name = 't_3'';
[connection slave]
*** Query: 'ALTER TABLE t_2 RENAME t_3'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 5 out of 13; current query: 'RENAME TABLE t_3 TO t_2 /* Name restored */'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.tables WHERE table_name = 't_2'';
[connection slave]
*** Query: 'RENAME TABLE t_3 TO t_2 /* Name restored */'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 6 out of 13; current query: 'INSERT INTO t_2 SET a=1,b=1'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM t_2';
[connection slave]
*** Query: 'INSERT INTO t_2 SET a=1,b=1'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 7 out of 13; current query: 'TRUNCATE TABLE t_2'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 0 FROM t_2';
[connection slave]
*** Query: 'TRUNCATE TABLE t_2'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 8 out of 13; current query: 'CREATE TABLESPACE ts_0 ADD DATAFILE 'ts_0.ibd''; pre-binlog check: ''; pre-commit check: 'SELECT COUNT(*) = 1 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts_0'';
[connection slave]
*** Query: 'CREATE TABLESPACE ts_0 ADD DATAFILE 'ts_0.ibd''. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 9 out of 13; current query: 'DROP TABLESPACE ts_0'; pre-binlog check: ''; pre-commit check: 'SELECT COUNT(*) = 0 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts_0'';
[connection slave]
*** Query: 'DROP TABLESPACE ts_0'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 10 out of 13; current query: 'CREATE DATABASE db_0 DEFAULT COLLATE latin1_general_ci'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.SCHEMATA WHERE schema_name = 'db_0'';
[connection slave]
*** Query: 'CREATE DATABASE db_0 DEFAULT COLLATE latin1_general_ci'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 11 out of 13; current query: 'ALTER DATABASE db_0 DEFAULT COLLATE utf8mb3_general_ci'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.SCHEMATA WHERE schema_name = 'db_0' and default_collation_name = 'utf8mb3_general_ci'';
[connection slave]
*** Query: 'ALTER DATABASE db_0 DEFAULT COLLATE utf8mb3_general_ci'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 12 out of 13; current query: 'DROP DATABASE db_0'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.SCHEMATA WHERE schema_name = 'db_0'';
[connection slave]
*** Query: 'DROP DATABASE db_0'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 13 out of 13; current query: 'DROP TABLE t_2'; pre-binlog check: ''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.tables WHERE table_name = 't_2'';
[connection slave]
*** Query: 'DROP TABLE t_2'. Crash right after the query has been binary-logged before committed in the engine. ***
SET @@GLOBAL.debug="+d,crash_commit_after_log";
include/gtid_step_reset.inc
START SLAVE SQL_THREAD;
Warnings:
Warning	1287	'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection slave]
include/start_slave.inc
[connection master]
DROP DATABASE master_db;
include/sync_slave_sql_with_master.inc
include/rpl_end.inc