File: rpl_atomic_ddl_no_binlog.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 (929 lines) | stat: -rw-r--r-- 48,514 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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
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("Operation CREATE USER failed");
call mtr.add_suppression("Operation RENAME USER failed");
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("Error 'Unknown error' on query");
[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;
CREATE TABLE t_1 (a int);
include/sync_slave_sql_with_master.inc
include/stop_slave_sql.inc
[connection master]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE USER user1 IDENTIFIED WITH 'mysql_native_password';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
GRANT SELECT ON *.* TO user1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
REVOKE SELECT ON *.* FROM user1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER USER user1 IDENTIFIED BY '123456';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
SET PASSWORD FOR user1='abcdef';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
RENAME USER user1 TO user2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE ROLE roleA,roleB;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
GRANT roleA TO roleB;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
REVOKE roleA FROM roleB;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
GRANT roleA TO user2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER USER user2 DEFAULT ROLE roleA;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP ROLE roleA,roleB;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP USER user2;
include/gtid_step_assert.inc [count=1, only_count=0]
PREPARE stmt FROM 'CREATE USER user3';
DEALLOCATE PREPARE stmt;
PREPARE stmt FROM 'DROP USER user3';
DEALLOCATE PREPARE stmt;
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TRIGGER tr_0 BEFORE INSERT ON t_1 FOR EACH ROW SET @a:=1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TRIGGER tr_0;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE FUNCTION f_0() RETURNS INT RETURN 5;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER FUNCTION f_0 COMMENT 'comment';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP FUNCTION f_0;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE PROCEDURE p_0() BEGIN END;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER PROCEDURE p_0 COMMENT 'comment';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP PROCEDURE p_0;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE EVENT e_0 ON SCHEDULE EVERY 2 DAY DO SELECT 2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER EVENT e_0 ON SCHEDULE EVERY 2 day DO SELECT 1;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP EVENT e_0;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE VIEW v_0 AS SELECT * FROM t_1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER VIEW v_0 AS SELECT * FROM t_1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP VIEW v_0;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE FUNCTION metaphon RETURNS STRING SONAME 'udf_example_LIB';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP FUNCTION metaphon;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLE test.t1(a int);
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t1 ADD COLUMN t1_new_col varchar(100);;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t1 ADD index new_t1_idx(t1_new_col);;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t1 RENAME TO test.t2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t2 DROP COLUMN a;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
TRUNCATE TABLE test.t2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t2 ADD fulltext index full_t2_idx(t1_new_col);;
Warnings:
Warning	124	InnoDB rebuilding table to add column FTS_DOC_ID
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
ALTER TABLE test.t2 DROP index full_t2_idx;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLE test.t2;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLESPACE ts ADD DATAFILE 'ts_0.ibd';
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLESPACE ts;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLE test.t1(a int);
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
CREATE TABLE test.t2 AS SELECT * FROM t1;;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLE test.t1;
include/gtid_step_assert.inc [count=1, only_count=0]
include/gtid_step_reset.inc
FLUSH LOGS;
DROP TABLE test.t2;
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]
CREATE USER user1;
START REPLICA SQL_THREAD;
include/wait_for_slave_sql_error.inc [errno=1396]
DROP USER user1;
SET @@GLOBAL.debug="+d,rli_pre_commit_error";
START REPLICA SQL_THREAD;
include/wait_for_slave_sql_error.inc [errno=1105]
SET @@GLOBAL.debug="-d,rli_pre_commit_error";
[connection master]
Loop: 1 out of 44; current query: 'CREATE USER user1 IDENTIFIED WITH 'mysql_native_password''; pre-binlog check: 'SELECT count(*) = 0 FROM mysql.user WHERE user = 'user1''; pre-commit check: 'SELECT count(*) = 1 FROM mysql.user WHERE user = 'user1'';
[connection slave]
*** Query: 'CREATE USER user1 IDENTIFIED WITH 'mysql_native_password''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=0]
*** Query: 'CREATE USER user1 IDENTIFIED WITH 'mysql_native_password''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'GRANT SELECT ON *.* TO user1'; pre-binlog check: 'SELECT select_priv = 'N' FROM mysql.user WHERE user = 'user1''; pre-commit check: 'SELECT select_priv = 'Y' FROM mysql.user WHERE user = 'user1'';
[connection slave]
*** Query: 'GRANT SELECT ON *.* TO user1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'GRANT SELECT ON *.* TO user1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'REVOKE SELECT ON *.* FROM user1'; pre-binlog check: 'SELECT select_priv = 'Y' FROM mysql.user WHERE user = 'user1''; pre-commit check: 'SELECT select_priv = 'N' FROM mysql.user WHERE user = 'user1'';
[connection slave]
*** Query: 'REVOKE SELECT ON *.* FROM user1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'REVOKE SELECT ON *.* FROM user1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'ALTER USER user1 IDENTIFIED BY '123456''; pre-binlog check: 'SELECT authentication_string = '' FROM mysql.user WHERE user LIKE 'user1''; pre-commit check: 'SELECT authentication_string != '' FROM mysql.user WHERE user LIKE 'user1'';
[connection slave]
*** Query: 'ALTER USER user1 IDENTIFIED BY '123456''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER USER user1 IDENTIFIED BY '123456''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'SET PASSWORD FOR user1='abcdef''; pre-binlog check: 'SELECT authentication_string = '*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9' FROM mysql.user WHERE user LIKE 'user1''; pre-commit check: 'SELECT authentication_string != '*6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9' FROM mysql.user WHERE user LIKE 'user1'';
[connection slave]
*** Query: 'SET PASSWORD FOR user1='abcdef''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'SET PASSWORD FOR user1='abcdef''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'RENAME USER user1 TO user2'; pre-binlog check: 'SELECT count(*) = 1 FROM mysql.user WHERE user = 'user1''; pre-commit check: 'SELECT count(*) = 0 FROM mysql.user WHERE user = 'user1'';
[connection slave]
*** Query: 'RENAME USER user1 TO user2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'RENAME USER user1 TO user2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'CREATE ROLE roleA,roleB'; pre-binlog check: 'SELECT COUNT(*) = 0 FROM mysql.user WHERE user LIKE 'roleB' OR user LIKE 'roleA';'; pre-commit check: 'SELECT COUNT(*) = 2 FROM mysql.user WHERE user LIKE 'roleB' OR user LIKE 'roleA';';
[connection slave]
*** Query: 'CREATE ROLE roleA,roleB'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE ROLE roleA,roleB'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'GRANT roleA TO roleB'; pre-binlog check: 'SELECT count(*) = 0 FROM mysql.role_edges WHERE from_user = 'roleA''; pre-commit check: 'SELECT count(*) = 1 FROM mysql.role_edges WHERE from_user = 'roleA'';
[connection slave]
*** Query: 'GRANT roleA TO roleB'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'GRANT roleA TO roleB'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'REVOKE roleA FROM roleB'; pre-binlog check: 'SELECT count(*) = 1 FROM mysql.role_edges WHERE from_user = 'roleA''; pre-commit check: 'SELECT count(*) = 0 FROM mysql.role_edges WHERE from_user = 'roleA'';
[connection slave]
*** Query: 'REVOKE roleA FROM roleB'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'REVOKE roleA FROM roleB'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'GRANT roleA TO user2'; pre-binlog check: 'SELECT count(*) = 0 FROM mysql.role_edges WHERE from_user = 'roleA''; pre-commit check: 'SELECT count(*) = 1 FROM mysql.role_edges WHERE from_user = 'roleA'';
[connection slave]
*** Query: 'GRANT roleA TO user2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'GRANT roleA TO user2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'ALTER USER user2 DEFAULT ROLE roleA;'; pre-binlog check: 'SELECT count(*) = 0 FROM mysql.default_roles WHERE user = 'user2''; pre-commit check: 'SELECT count(*) = 1 FROM mysql.default_roles WHERE user = 'user2'';
[connection slave]
*** Query: 'ALTER USER user2 DEFAULT ROLE roleA;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER USER user2 DEFAULT ROLE roleA;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'DROP ROLE roleA,roleB'; pre-binlog check: 'SELECT count(*) = 2 FROM mysql.user WHERE user LIKE 'roleA' OR user LIKE 'roleB''; pre-commit check: 'SELECT count(*) = 0 FROM mysql.user WHERE user LIKE 'roleA' OR user LIKE 'roleB'';
[connection slave]
*** Query: 'DROP ROLE roleA,roleB'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP ROLE roleA,roleB'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 44; current query: 'DROP USER user2'; pre-binlog check: 'SELECT count(*) = 1 FROM mysql.user WHERE user = 'user2''; pre-commit check: 'SELECT count(*) = 0 FROM mysql.user WHERE user = 'user2'';
[connection slave]
*** Query: 'DROP USER user2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP USER user2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 14 out of 44; current query: 'CREATE TRIGGER tr_0 BEFORE INSERT ON t_1 FOR EACH ROW SET @a:=1'; pre-binlog check: 'SELECT count(*) = 0 FROM information_schema.TRIGGERS where TRIGGER_NAME = 'tr_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.TRIGGERS where TRIGGER_NAME = 'tr_0'';
[connection slave]
*** Query: 'CREATE TRIGGER tr_0 BEFORE INSERT ON t_1 FOR EACH ROW SET @a:=1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE TRIGGER tr_0 BEFORE INSERT ON t_1 FOR EACH ROW SET @a:=1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 15 out of 44; current query: 'DROP TRIGGER tr_0'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.TRIGGERS where TRIGGER_NAME = 'tr_0''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.TRIGGERS where TRIGGER_NAME = 'tr_0'';
[connection slave]
*** Query: 'DROP TRIGGER tr_0'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP TRIGGER tr_0'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 16 out of 44; current query: 'CREATE FUNCTION f_0() RETURNS INT RETURN 5;'; pre-binlog check: 'SELECT count(*) = 0 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0'';
[connection slave]
*** Query: 'CREATE FUNCTION f_0() RETURNS INT RETURN 5;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE FUNCTION f_0() RETURNS INT RETURN 5;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 17 out of 44; current query: 'ALTER FUNCTION f_0 COMMENT 'comment''; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0'';
[connection slave]
*** Query: 'ALTER FUNCTION f_0 COMMENT 'comment''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER FUNCTION f_0 COMMENT 'comment''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 18 out of 44; current query: 'DROP FUNCTION f_0'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.ROUTINES where ROUTINE_NAME = 'f_0'';
[connection slave]
*** Query: 'DROP FUNCTION f_0'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP FUNCTION f_0'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 19 out of 44; current query: 'CREATE PROCEDURE p_0() BEGIN END'; pre-binlog check: 'SELECT count(*) = 0 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0'';
[connection slave]
*** Query: 'CREATE PROCEDURE p_0() BEGIN END'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE PROCEDURE p_0() BEGIN END'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 20 out of 44; current query: 'ALTER PROCEDURE p_0 COMMENT 'comment''; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0'';
[connection slave]
*** Query: 'ALTER PROCEDURE p_0 COMMENT 'comment''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER PROCEDURE p_0 COMMENT 'comment''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 21 out of 44; current query: 'DROP PROCEDURE p_0'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.ROUTINES where ROUTINE_NAME = 'p_0'';
[connection slave]
*** Query: 'DROP PROCEDURE p_0'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP PROCEDURE p_0'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 22 out of 44; current query: 'CREATE EVENT e_0 ON SCHEDULE EVERY 2 DAY DO SELECT 2'; pre-binlog check: 'SELECT count(*) = 0 FROM information_schema.EVENTS where EVENT_NAME = 'e_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.EVENTS where EVENT_NAME = 'e_0'';
[connection slave]
*** Query: 'CREATE EVENT e_0 ON SCHEDULE EVERY 2 DAY DO SELECT 2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE EVENT e_0 ON SCHEDULE EVERY 2 DAY DO SELECT 2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 23 out of 44; current query: 'ALTER EVENT e_0 ON SCHEDULE EVERY 2 day DO SELECT 1;'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.EVENTS where EVENT_NAME = 'e_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.EVENTS where EVENT_NAME = 'e_0'';
[connection slave]
*** Query: 'ALTER EVENT e_0 ON SCHEDULE EVERY 2 day DO SELECT 1;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER EVENT e_0 ON SCHEDULE EVERY 2 day DO SELECT 1;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 24 out of 44; current query: 'DROP EVENT e_0'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.EVENTS where EVENT_NAME = 'e_0''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.EVENTS where EVENT_NAME = 'e_0'';
[connection slave]
*** Query: 'DROP EVENT e_0'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP EVENT e_0'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 25 out of 44; current query: 'CREATE VIEW v_0 AS SELECT * FROM t_1'; pre-binlog check: 'SELECT count(*) = 0 FROM information_schema.VIEWS where TABLE_NAME = 'v_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.VIEWS where TABLE_NAME = 'v_0'';
[connection slave]
*** Query: 'CREATE VIEW v_0 AS SELECT * FROM t_1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE VIEW v_0 AS SELECT * FROM t_1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 26 out of 44; current query: 'ALTER VIEW v_0 AS SELECT * FROM t_1'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.VIEWS where TABLE_NAME = 'v_0''; pre-commit check: 'SELECT count(*) = 1 FROM information_schema.VIEWS where TABLE_NAME = 'v_0'';
[connection slave]
*** Query: 'ALTER VIEW v_0 AS SELECT * FROM t_1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER VIEW v_0 AS SELECT * FROM t_1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 27 out of 44; current query: 'DROP VIEW v_0'; pre-binlog check: 'SELECT count(*) = 1 FROM information_schema.VIEWS where TABLE_NAME = 'v_0''; pre-commit check: 'SELECT count(*) = 0 FROM information_schema.VIEWS where TABLE_NAME = 'v_0'';
[connection slave]
*** Query: 'DROP VIEW v_0'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP VIEW v_0'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 28 out of 44; current query: 'CREATE FUNCTION metaphon RETURNS STRING SONAME 'udf_example_LIB''; pre-binlog check: 'SELECT count(*) = 0 FROM mysql.func where NAME = 'metaphon''; pre-commit check: 'SELECT count(*) = 1 FROM mysql.func where NAME = 'metaphon'';
[connection slave]
*** Query: 'CREATE FUNCTION metaphon RETURNS STRING SONAME 'udf_example_LIB''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE FUNCTION metaphon RETURNS STRING SONAME 'udf_example_LIB''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 29 out of 44; current query: 'DROP FUNCTION metaphon;'; pre-binlog check: 'SELECT count(*) = 1 FROM mysql.func where NAME = 'metaphon''; pre-commit check: 'SELECT count(*) = 0 FROM mysql.func where NAME = 'metaphon'';
[connection slave]
*** Query: 'DROP FUNCTION metaphon;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP FUNCTION metaphon;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 30 out of 44; current query: 'CREATE TABLE test.t1(a int)'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t1''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t1'';
[connection slave]
*** Query: 'CREATE TABLE test.t1(a int)'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE TABLE test.t1(a int)'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 31 out of 44; current query: 'ALTER TABLE test.t1 ADD COLUMN t1_new_col varchar(100);'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.columns where table_name='t1''; pre-commit check: 'SELECT count(*)=2 FROM information_schema.columns where table_name='t1'';
[connection slave]
*** Query: 'ALTER TABLE test.t1 ADD COLUMN t1_new_col varchar(100);'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t1 ADD COLUMN t1_new_col varchar(100);'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 32 out of 44; current query: 'ALTER TABLE test.t1 ADD index new_t1_idx(t1_new_col);'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.innodb_indexes where name='new_t1_idx''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.innodb_indexes where name='new_t1_idx'';
[connection slave]
*** Query: 'ALTER TABLE test.t1 ADD index new_t1_idx(t1_new_col);'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t1 ADD index new_t1_idx(t1_new_col);'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 33 out of 44; current query: 'ALTER TABLE test.t1 RENAME TO test.t2'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t2''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2'';
[connection slave]
*** Query: 'ALTER TABLE test.t1 RENAME TO test.t2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t1 RENAME TO test.t2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 34 out of 44; current query: 'ALTER TABLE test.t2 DROP COLUMN a;'; pre-binlog check: 'SELECT count(*)=2 FROM information_schema.columns where table_name='t2''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.columns where table_name='t2'';
[connection slave]
*** Query: 'ALTER TABLE test.t2 DROP COLUMN a;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t2 DROP COLUMN a;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 35 out of 44; current query: 'TRUNCATE TABLE test.t2'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2'';
[connection slave]
*** Query: 'TRUNCATE TABLE test.t2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'TRUNCATE TABLE test.t2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 36 out of 44; current query: 'ALTER TABLE test.t2 ADD fulltext index full_t2_idx(t1_new_col);'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.innodb_indexes where name='full_t2_idx''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.innodb_indexes where name='full_t2_idx'';
[connection slave]
*** Query: 'ALTER TABLE test.t2 ADD fulltext index full_t2_idx(t1_new_col);'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t2 ADD fulltext index full_t2_idx(t1_new_col);'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 37 out of 44; current query: 'ALTER TABLE test.t2 DROP index full_t2_idx;'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.innodb_indexes where name='full_t2_idx''; pre-commit check: 'SELECT count(*)=0 FROM information_schema.innodb_indexes where name='full_t2_idx'';
[connection slave]
*** Query: 'ALTER TABLE test.t2 DROP index full_t2_idx;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'ALTER TABLE test.t2 DROP index full_t2_idx;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 38 out of 44; current query: 'DROP TABLE test.t2'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2''; pre-commit check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t2'';
[connection slave]
*** Query: 'DROP TABLE test.t2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP TABLE test.t2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 39 out of 44; current query: 'CREATE TABLESPACE ts ADD DATAFILE 'ts_0.ibd''; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts'';
[connection slave]
*** Query: 'CREATE TABLESPACE ts ADD DATAFILE 'ts_0.ibd''. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE TABLESPACE ts ADD DATAFILE 'ts_0.ibd''. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 40 out of 44; current query: 'DROP TABLESPACE ts'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts''; pre-commit check: 'SELECT count(*)=0 FROM information_schema.INNODB_TABLESPACES WHERE name = 'ts'';
[connection slave]
*** Query: 'DROP TABLESPACE ts'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP TABLESPACE ts'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 41 out of 44; current query: 'CREATE TABLE test.t1(a int)'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t1''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t1'';
[connection slave]
*** Query: 'CREATE TABLE test.t1(a int)'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE TABLE test.t1(a int)'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 42 out of 44; current query: 'CREATE TABLE test.t2 AS SELECT * FROM t1;'; pre-binlog check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t2''; pre-commit check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2'';
[connection slave]
*** Query: 'CREATE TABLE test.t2 AS SELECT * FROM t1;'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'CREATE TABLE test.t2 AS SELECT * FROM t1;'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 43 out of 44; current query: 'DROP TABLE test.t1'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t1''; pre-commit check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t1'';
[connection slave]
*** Query: 'DROP TABLE test.t1'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP TABLE test.t1'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
[connection slave]
include/gtid_step_assert.inc [count=1, only_count=1]
[connection master]
Loop: 44 out of 44; current query: 'DROP TABLE test.t2'; pre-binlog check: 'SELECT count(*)=1 FROM information_schema.tables where table_name='t2''; pre-commit check: 'SELECT count(*)=0 FROM information_schema.tables where table_name='t2'';
[connection slave]
*** Query: 'DROP TABLE test.t2'. Crash right after the query has been committed. ***
SET @@GLOBAL.debug="+d,replica_crash_before_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
include/rpl_start_server.inc [server_number=2]
include/gtid_step_assert.inc [count=0, only_count=1]
*** Query: 'DROP TABLE test.t2'. Crash right before the query gets committed. ***
SET @@GLOBAL.debug="+d,replica_crash_after_commit";
include/gtid_step_reset.inc
START REPLICA SQL_THREAD;
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 table t_1;
DROP DATABASE master_db;
include/sync_slave_sql_with_master.inc
include/rpl_end.inc