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
|
SET GLOBAL group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME";
#
# Test if binlog_format with the wrong value will fail.
#
SET GLOBAL binlog_format= STATEMENT;
Warnings:
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
START GROUP_REPLICATION;
ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
SET GLOBAL binlog_format= "ROW";
Warnings:
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
SET GLOBAL binlog_transaction_dependency_tracking= COMMIT_ORDER;
Warnings:
Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
SET GLOBAL transaction_write_set_extraction=OFF;
Warnings:
Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release.
START GROUP_REPLICATION;
ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
SET GLOBAL transaction_write_set_extraction= WRITE_SET_EXTRACTION_ALGORITHM;
Warnings:
Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release.
SET GLOBAL binlog_transaction_dependency_tracking= BINLOG_TRANSACTION_DEPENDENCY_TRACKING;
Warnings:
Warning 1287 '@@binlog_transaction_dependency_tracking' is deprecated and will be removed in a future release.
#
# Test if parallel applier is enabled and that start
# Group Replication will fail.
#
SET @replica_parallel_type_saved= @@GLOBAL.REPLICA_PARALLEL_TYPE;
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
SET @replica_parallel_workers_saved= @@GLOBAL.REPLICA_PARALLEL_WORKERS;
SET @replica_preserve_commit_order= @@GLOBAL.REPLICA_PRESERVE_COMMIT_ORDER;
SET @@GLOBAL.REPLICA_PARALLEL_TYPE= "DATABASE";
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
SET GLOBAL REPLICA_PARALLEL_WORKERS= 4;
START GROUP_REPLICATION;
ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
SET @@GLOBAL.REPLICA_PARALLEL_TYPE= "LOGICAL_CLOCK";
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
SET GLOBAL REPLICA_PARALLEL_WORKERS= 4;
SET @@GLOBAL.REPLICA_PRESERVE_COMMIT_ORDER= OFF;
START GROUP_REPLICATION;
ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
SET @@GLOBAL.REPLICA_PARALLEL_TYPE= @replica_parallel_type_saved;
Warnings:
Warning 1287 '@@replica_parallel_type' is deprecated and will be removed in a future release.
SET @@GLOBAL.REPLICA_PARALLEL_WORKERS= @replica_parallel_workers_saved;
SET @@GLOBAL.REPLICA_PRESERVE_COMMIT_ORDER= @replica_preserve_commit_order;
call mtr.add_suppression("Binlog format should be ROW for Group Replication");
call mtr.add_suppression("Extraction of transaction write sets requires*");
call mtr.add_suppression("In order to use parallel applier on Group Replication, parameter replica-parallel-type must be set to 'LOGICAL_CLOCK'");
call mtr.add_suppression("Group Replication requires replica-preserve-commit-order to be set to ON when using more than 1 applier threads.");
|