@@ -18,8 +18,12 @@ Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a fu
18
18
SET GLOBAL replica_parallel_workers = 3;
19
19
SET GLOBAL replica_transaction_retries = 0;
20
20
SET @save_binlog_transaction_dependency_tracking = @@GLOBAL.binlog_transaction_dependency_tracking;
21
+ Warnings:
22
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
21
23
SET @save_binlog_transaction_dependency_history_size = @@GLOBAL.binlog_transaction_dependency_history_size;
22
24
SET GLOBAL binlog_transaction_dependency_tracking = COMMIT_ORDER;
25
+ Warnings:
26
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
23
27
CREATE TABLE tests (`id` INT NOT NULL, `description` VARCHAR(50), `results` VARCHAR(100), PRIMARY KEY(`id`));
24
28
INSERT INTO `tests` (`id`, `description`, `results`) VALUES
25
29
(1, 'Writeset', '0 1;1 2;1 3;1 4;3 5;3 6;4 7;7 8;6 9;9 10'),
@@ -37,13 +41,17 @@ INSERT INTO `tests` (`id`, `description`, `results`) VALUES
37
41
FLUSH LOGS;
38
42
#### TEST ####
39
43
SET GLOBAL binlog_transaction_dependency_tracking = WRITESET;
44
+ Warnings:
45
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
40
46
######## 1. WRITESET ########
41
47
#### STEP 1.1 TEST Writeset ####
42
48
SET GLOBAL binlog_transaction_dependency_history_size=25000;
43
49
SELECT @@binlog_transaction_dependency_tracking,
44
50
@@binlog_transaction_dependency_history_size;
45
51
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
46
52
WRITESET 25000
53
+ Warnings:
54
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
47
55
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
48
56
PRIMARY KEY (`id`)) ENGINE=NDB;
49
57
#TRX2 (session A, independent)
@@ -104,6 +112,8 @@ SELECT @@binlog_transaction_dependency_tracking,
104
112
@@binlog_transaction_dependency_history_size;
105
113
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
106
114
WRITESET 25000
115
+ Warnings:
116
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
107
117
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
108
118
PRIMARY KEY (`id`)) ENGINE=NDB;
109
119
#TRX2 (session A, independent)
@@ -168,6 +178,8 @@ SELECT @@binlog_transaction_dependency_tracking,
168
178
@@binlog_transaction_dependency_history_size;
169
179
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
170
180
WRITESET 25000
181
+ Warnings:
182
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
171
183
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
172
184
PRIMARY KEY (`id`)) ENGINE=NDB;
173
185
#TRX2 (session A, independent)
@@ -232,6 +244,8 @@ SELECT @@binlog_transaction_dependency_tracking,
232
244
@@binlog_transaction_dependency_history_size;
233
245
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
234
246
WRITESET 5
247
+ Warnings:
248
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
235
249
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
236
250
PRIMARY KEY (`id`)) ENGINE=NDB;
237
251
#TRX2 (session A, independent)
@@ -287,13 +301,17 @@ Processing binlog master-bin.000006
287
301
FLUSH LOGS;
288
302
include/include/assert_logical_timestamps.inc [0 1;1 2;1 3;1 4;4 5;4 6;4 7;7 8;7 9;9 10]
289
303
SET GLOBAL binlog_transaction_dependency_tracking = WRITESET_SESSION;
304
+ Warnings:
305
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
290
306
######## 2. WRITESET_SESSION ########
291
307
#### STEP 2.1 TEST Writeset_session ####
292
308
SET GLOBAL binlog_transaction_dependency_history_size=25000;
293
309
SELECT @@binlog_transaction_dependency_tracking,
294
310
@@binlog_transaction_dependency_history_size;
295
311
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
296
312
WRITESET_SESSION 25000
313
+ Warnings:
314
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
297
315
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
298
316
PRIMARY KEY (`id`)) ENGINE=NDB;
299
317
#TRX2 (session A, independent)
@@ -354,6 +372,8 @@ SELECT @@binlog_transaction_dependency_tracking,
354
372
@@binlog_transaction_dependency_history_size;
355
373
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
356
374
WRITESET_SESSION 25000
375
+ Warnings:
376
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
357
377
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
358
378
PRIMARY KEY (`id`)) ENGINE=NDB;
359
379
#TRX2 (session A, independent)
@@ -418,6 +438,8 @@ SELECT @@binlog_transaction_dependency_tracking,
418
438
@@binlog_transaction_dependency_history_size;
419
439
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
420
440
WRITESET_SESSION 25000
441
+ Warnings:
442
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
421
443
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
422
444
PRIMARY KEY (`id`)) ENGINE=NDB;
423
445
#TRX2 (session A, independent)
@@ -482,6 +504,8 @@ SELECT @@binlog_transaction_dependency_tracking,
482
504
@@binlog_transaction_dependency_history_size;
483
505
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
484
506
WRITESET_SESSION 5
507
+ Warnings:
508
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
485
509
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
486
510
PRIMARY KEY (`id`)) ENGINE=NDB;
487
511
#TRX2 (session A, independent)
@@ -537,13 +561,17 @@ Processing binlog master-bin.000011
537
561
FLUSH LOGS;
538
562
include/include/assert_logical_timestamps.inc [0 1;1 2;2 3;3 4;4 5;5 6;6 7;7 8;8 9;9 10]
539
563
SET GLOBAL binlog_transaction_dependency_tracking = COMMIT_ORDER;
564
+ Warnings:
565
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
540
566
######## 3. COMMIT_ORDER ########
541
567
#### STEP 3.1 TEST Commit_order ####
542
568
SET GLOBAL binlog_transaction_dependency_history_size=25000;
543
569
SELECT @@binlog_transaction_dependency_tracking,
544
570
@@binlog_transaction_dependency_history_size;
545
571
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
546
572
COMMIT_ORDER 25000
573
+ Warnings:
574
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
547
575
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
548
576
PRIMARY KEY (`id`)) ENGINE=NDB;
549
577
#TRX2 (session A, independent)
@@ -604,6 +632,8 @@ SELECT @@binlog_transaction_dependency_tracking,
604
632
@@binlog_transaction_dependency_history_size;
605
633
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
606
634
COMMIT_ORDER 25000
635
+ Warnings:
636
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
607
637
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
608
638
PRIMARY KEY (`id`)) ENGINE=NDB;
609
639
#TRX2 (session A, independent)
@@ -668,6 +698,8 @@ SELECT @@binlog_transaction_dependency_tracking,
668
698
@@binlog_transaction_dependency_history_size;
669
699
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
670
700
COMMIT_ORDER 25000
701
+ Warnings:
702
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
671
703
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
672
704
PRIMARY KEY (`id`)) ENGINE=NDB;
673
705
#TRX2 (session A, independent)
@@ -732,6 +764,8 @@ SELECT @@binlog_transaction_dependency_tracking,
732
764
@@binlog_transaction_dependency_history_size;
733
765
@@binlog_transaction_dependency_tracking @@binlog_transaction_dependency_history_size
734
766
COMMIT_ORDER 5
767
+ Warnings:
768
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
735
769
CREATE TABLE `t1` (`id` int NOT NULL, `val` int NOT NULL,
736
770
PRIMARY KEY (`id`)) ENGINE=NDB;
737
771
#TRX2 (session A, independent)
@@ -794,6 +828,8 @@ include/diff_tables.inc [master:test.tests, slave:test.tests]
794
828
DROP TABLE `tests`;
795
829
include/sync_slave_sql_with_master.inc
796
830
SET GLOBAL binlog_transaction_dependency_tracking= WRITESET;
831
+ Warnings:
832
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
797
833
SET GLOBAL binlog_transaction_dependency_history_size= DEFAULT;
798
834
FLUSH LOGS;
799
835
@@ -804,6 +840,8 @@ INSERT INTO t1 VALUES (null);
804
840
INSERT INTO t1 VALUES (null);
805
841
# Wait for ndb_binlog thread...
806
842
set global binlog_transaction_dependency_tracking=WRITESET;
843
+ Warnings:
844
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
807
845
INSERT INTO t1 VALUES (null);
808
846
# Wait for ndb_binlog thread...
809
847
INSERT INTO t1 VALUES (null);
@@ -818,6 +856,8 @@ INSERT INTO t1 VALUES (null);
818
856
INSERT INTO t1 VALUES (null);
819
857
# Wait for ndb_binlog thread...
820
858
set global binlog_transaction_dependency_tracking=WRITESET;
859
+ Warnings:
860
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
821
861
INSERT INTO t1 VALUES (null);
822
862
# Wait for ndb_binlog thread...
823
863
INSERT INTO t1 VALUES (null);
@@ -907,6 +947,10 @@ SET @@GLOBAL.replica_parallel_workers= @save_replica_parallel_workers;
907
947
SET @@GLOBAL.replica_transaction_retries= @save_replica_transaction_retries;
908
948
include/start_slave.inc
909
949
SET GLOBAL binlog_transaction_dependency_tracking = COMMIT_ORDER;
950
+ Warnings:
951
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
910
952
SET @@GLOBAL.binlog_transaction_dependency_tracking= @save_binlog_transaction_dependency_tracking;
953
+ Warnings:
954
+ Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
911
955
SET @@GLOBAL.binlog_transaction_dependency_history_size= @save_binlog_transaction_dependency_history_size;
912
956
include/rpl_end.inc
0 commit comments