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
|
include/group_replication.inc [rpl_server_count=2]
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 server1]
[connection server1]
Starting GR on server 1
RUN SET GLOBAL GROUP_REPLICATION_GROUP_NAME = 'aaaaaaaa-eeee-aaaa-aaaa-aaaaaaaaaaaa'
0 rows affected
RUN SET @@GLOBAL.group_replication_ip_allowlist= "AUTOMATIC"
0 rows affected
RUN SET GLOBAL GROUP_REPLICATION_BOOTSTRAP_GROUP=1
0 rows affected
RUN START GROUP_REPLICATION
0 rows affected
RUN SET GLOBAL GROUP_REPLICATION_BOOTSTRAP_GROUP=0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
include/gr_wait_for_member_state.inc
include/assert.inc [group_replication_allow_local_lower_version_join is OFF]
include/assert.inc [group_replication_auto_increment_increment is 7]
include/assert.inc [group_replication_components_stop_timeout is 300]
include/assert.inc [group_replication_compression_threshold is 1000000]
include/assert.inc [group_replication_enforce_update_everywhere_checks is ON]
include/assert.inc [group_replication_flow_control_applier_threshold is 25000]
include/assert.inc [group_replication_flow_control_certifier_threshold is 25000]
include/assert.inc [group_replication_flow_control_mode is QUOTA]
include/assert.inc [group_replication_ip_allowlist is AUTOMATIC]
include/assert.inc [group_replication_poll_spin_loops is 0]
include/assert.inc [group_replication_recovery_complete_at is TRANSACTIONS_APPLIED]
include/assert.inc [group_replication_recovery_reconnect_interval is 60]
include/assert.inc [group_replication_recovery_retry_count is 10]
include/assert.inc [group_replication_start_on_boot is OFF]
include/assert.inc [group_replication_single_primary_mode is OFF]
include/stop_group_replication.inc
SET @group_replication_allow_local_lower_version_join_save= @@GLOBAL.group_replication_allow_local_lower_version_join;
SET @group_replication_auto_increment_increment_save= @@GLOBAL.group_replication_auto_increment_increment;
SET @group_replication_components_stop_timeout_save= @@GLOBAL.group_replication_components_stop_timeout;
SET @group_replication_compression_threshold_save= @@GLOBAL.group_replication_compression_threshold;
SET @group_replication_enforce_update_everywhere_checks_save= @@GLOBAL.group_replication_enforce_update_everywhere_checks;
SET @group_replication_flow_control_applier_threshold_save= @@GLOBAL.group_replication_flow_control_applier_threshold;
SET @group_replication_flow_control_certifier_threshold_save= @@GLOBAL.group_replication_flow_control_certifier_threshold;
SET @group_replication_flow_control_mode_save= @@GLOBAL.group_replication_flow_control_mode;
SET @group_replication_group_name_save= @@GLOBAL.group_replication_group_name;
SET @group_replication_gtid_assignment_block_size_save= @@GLOBAL.group_replication_gtid_assignment_block_size;
SET @group_replication_group_seeds_save= @@GLOBAL.group_replication_group_seeds;
SET @group_replication_local_address_save= @@GLOBAL.group_replication_local_address;
SET @group_replication_poll_spin_loops_save= @@GLOBAL.group_replication_poll_spin_loops;
SET @group_replication_recovery_complete_at_save= @@GLOBAL.group_replication_recovery_complete_at;
SET @group_replication_recovery_reconnect_interval_save= @@GLOBAL.group_replication_recovery_reconnect_interval;
SET @group_replication_recovery_retry_count_save= @@GLOBAL.group_replication_recovery_retry_count;
SET @group_replication_recovery_ssl_ca_save= @@GLOBAL.group_replication_recovery_ssl_ca;
SET @group_replication_recovery_ssl_capath_save= @@GLOBAL.group_replication_recovery_ssl_capath;
SET @group_replication_recovery_ssl_cert_save= @@GLOBAL.group_replication_recovery_ssl_cert;
SET @group_replication_recovery_ssl_cipher_save= @@GLOBAL.group_replication_recovery_ssl_cipher;
SET @group_replication_recovery_ssl_crl_save= @@GLOBAL.group_replication_recovery_ssl_crl;
SET @group_replication_recovery_ssl_crlpath_save= @@GLOBAL.group_replication_recovery_ssl_crlpath;
SET @group_replication_recovery_ssl_key_save= @@GLOBAL.group_replication_recovery_ssl_key;
SET @group_replication_recovery_ssl_verify_server_cert_save= @@GLOBAL.group_replication_recovery_ssl_verify_server_cert;
SET @group_replication_recovery_use_ssl_save= @@GLOBAL.group_replication_recovery_use_ssl;
SET @group_replication_single_primary_mode_save= @@GLOBAL.group_replication_single_primary_mode;
SET @group_replication_ssl_mode_save= @@GLOBAL.group_replication_ssl_mode;
SET @group_replication_start_on_boot_save= @@GLOBAL.group_replication_start_on_boot;
SET @group_replication_recovery_public_key_path_save= @@GLOBAL.group_replication_recovery_public_key_path;
SET @group_replication_recovery_get_public_key_save= @@GLOBAL.group_replication_recovery_get_public_key;
RUN SET GLOBAL group_replication_allow_local_lower_version_join= ON
0 rows affected
RUN SET GLOBAL group_replication_auto_increment_increment= 5
0 rows affected
RUN SET GLOBAL group_replication_bootstrap_group= 1
0 rows affected
RUN SET GLOBAL group_replication_components_stop_timeout= 10
0 rows affected
RUN SET GLOBAL group_replication_compression_threshold= 10
0 rows affected
RUN SET GLOBAL group_replication_enforce_update_everywhere_checks= OFF
0 rows affected
RUN SET GLOBAL group_replication_flow_control_applier_threshold= 50000
0 rows affected
RUN SET GLOBAL group_replication_flow_control_certifier_threshold= 50000
0 rows affected
RUN SET GLOBAL group_replication_flow_control_mode= "DISABLED"
0 rows affected
RUN SET GLOBAL group_replication_force_members= ""
0 rows affected
RUN SET GLOBAL group_replication_group_name= "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaab"
0 rows affected
RUN SET GLOBAL group_replication_group_seeds= CONCAT("localhost:",xcom_port)
0 rows affected
RUN SET GLOBAL group_replication_gtid_assignment_block_size= 2
0 rows affected
RUN SET GLOBAL group_replication_ip_allowlist= "AUTOMATIC"
0 rows affected
RUN SET GLOBAL group_replication_local_address= CONCAT("localhost:",xcom_port)
0 rows affected
RUN SET GLOBAL group_replication_poll_spin_loops= 10
0 rows affected
RUN SET GLOBAL group_replication_recovery_complete_at= TRANSACTIONS_CERTIFIED
0 rows affected
RUN SET GLOBAL group_replication_recovery_reconnect_interval= 20
0 rows affected
RUN SET GLOBAL group_replication_recovery_retry_count= 5
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_ca= 'MYSQL_TEST_DIR/std_data/cacert.pem'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_capath= 'MYSQL_TEST_DIR/std_data'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_cert= 'MYSQL_TEST_DIR/std_data/client-cert.pem'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_cipher= 'ECDHE-RSA-AES128-GCM-SHA256'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_crl= 'crl-client-revoked.crl'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_crlpath= 'MYSQL_TEST_DIR/std_data'
0 rows affected
RUN SET GLOBAL group_replication_recovery_ssl_key= 'MYSQL_TEST_DIR/std_data/client-key.pem'
0 rows affected
RUN SET GLOBAl group_replication_recovery_ssl_verify_server_cert= ON
0 rows affected
RUN SET GLOBAL group_replication_recovery_use_ssl= ON
0 rows affected
RUN SET GLOBAL group_replication_single_primary_mode= ON
0 rows affected
RUN SET GLOBAL group_replication_ssl_mode= "VERIFY_CA"
0 rows affected
RUN SET GLOBAL group_replication_start_on_boot= ON
0 rows affected
RUN SET GLOBAL group_replication_recovery_get_public_key= ON
0 rows affected
RUN SET GLOBAL group_replication_recovery_public_key_path= 'MYSQL_TEST_DIR/std_data/rsa_public_key.pem'
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
START GROUP_REPLICATION;
Warnings:
Warning 1681 'group_replication_recovery_complete_at' is deprecated and will be removed in a future release.
include/assert.inc [group_replication_allow_local_lower_version_join is ON]
include/assert.inc [group_replication_auto_increment_increment is 5]
include/assert.inc [group_replication_components_stop_timeout is 10]
include/assert.inc [group_replication_compression_threshold is 10]
include/assert.inc [group_replication_enforce_update_everywhere_checks is OFF]
include/assert.inc [group_replication_flow_control_applier_threshold is 50000]
include/assert.inc [group_replication_flow_control_certifier_threshold is 50000]
include/assert.inc [group_replication_flow_control_mode is DISABLED]
include/assert.inc [group_replication_force_members is ""]
include/assert.inc [group_replication_group_name is aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaab]
include/assert.inc [group_replication_group_seeds is 127.0.0.1:xcom_port]
include/assert.inc [group_replication_gtid_assignment_block_size is 2]
include/assert.inc [group_replication_ip_allowlist is AUTOMATIC]
include/assert.inc [group_replication_local_address is 127.0.0.1:xcom_port]
include/assert.inc [group_replication_recovery_complete_at is TRANSACTIONS_CERTIFIED]
include/assert.inc [group_replication_recovery_reconnect_interval is 20]
include/assert.inc [group_replication_recovery_retry_count is 5]
include/assert.inc [group_replication_recovery_ssl_ca is MYSQL_TEST_DIR/std_data/cacert.pem]
include/assert.inc [group_replication_recovery_ssl_capath is MYSQL_TEST_DIR/std_data]
include/assert.inc [group_replication_recovery_ssl_cert is MYSQL_TEST_DIR/std_data/client-cert.pem]
include/assert.inc [group_replication_recovery_ssl_cipher is ECDHE-RSA-AES128-GCM-SHA256]
include/assert.inc [group_replication_recovery_ssl_crl is crl-client-revoked.crl]
include/assert.inc [group_replication_recovery_ssl_crlpath is MYSQL_TEST_DIR/std_data]
include/assert.inc [group_replication_recovery_ssl_key is MYSQL_TEST_DIR/std_data/client-key.pem]
include/assert.inc [group_replication_recovery_ssl_verify_server_cert is ON]
include/assert.inc [group_replication_recovery_use_ssl is ON]
include/assert.inc [group_replication_single_primary_mode is ON]
include/assert.inc [group_replication_start_on_boot is ON]
include/assert.inc [group_replication_ssl_mode is VERIFY_CA]
include/assert.inc [group_replication_recovery_public_key_path is MYSQL_TEST_DIR/std_data/rsa_public_key.pem]
include/assert.inc [group_replication_recovery_get_public_key is ON]
Stopping GR on server 1
RUN STOP GROUP_REPLICATION;
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
include/gr_wait_for_member_state.inc
include/assert_and_disable_read_only.inc
SET GLOBAL group_replication_allow_local_lower_version_join= @group_replication_allow_local_lower_version_join_save;
SET GLOBAL group_replication_auto_increment_increment= @group_replication_auto_increment_increment_save;
SET GLOBAL group_replication_components_stop_timeout= @group_replication_components_stop_timeout_save;
SET GLOBAL group_replication_compression_threshold= @group_replication_compression_threshold_save;
SET GLOBAL group_replication_flow_control_applier_threshold= @group_replication_flow_control_applier_threshold_save;
SET GLOBAL group_replication_flow_control_certifier_threshold= @group_replication_flow_control_certifier_threshold_save;
SET GLOBAL group_replication_flow_control_mode= @group_replication_flow_control_mode_save;
SET GLOBAL group_replication_group_name =@group_replication_group_name_save;
SET GLOBAL group_replication_group_seeds= @group_replication_group_seeds_save;
SET GLOBAL group_replication_gtid_assignment_block_size= @group_replication_gtid_assignment_block_size_save;
SET GLOBAL group_replication_local_address= @group_replication_local_address_save;
SET GLOBAL group_replication_group_seeds= @group_replication_group_seeds_save;
SET GLOBAL group_replication_recovery_complete_at= @group_replication_recovery_complete_at_save;
Warnings:
Warning 1681 'group_replication_recovery_complete_at' is deprecated and will be removed in a future release.
SET GLOBAL group_replication_poll_spin_loops= @group_replication_poll_spin_loops_save;
SET GLOBAL group_replication_recovery_reconnect_interval= @group_replication_recovery_reconnect_interval_save;
SET GLOBAL group_replication_recovery_retry_count= @group_replication_recovery_retry_count_save;
SET GLOBAL group_replication_recovery_ssl_ca= @group_replication_recovery_ssl_ca_save;
SET GLOBAL group_replication_recovery_ssl_capath= @group_replication_recovery_ssl_capath_save;
SET GLOBAL group_replication_recovery_ssl_cert= @group_replication_recovery_ssl_cert_save;
SET GLOBAL group_replication_recovery_ssl_cipher= @group_replication_recovery_ssl_cipher_save;
SET GLOBAL group_replication_recovery_ssl_crl= @group_replication_recovery_ssl_crl_save;
SET GLOBAL group_replication_recovery_ssl_crlpath= @group_replication_recovery_ssl_crlpath_save;
SET GLOBAL group_replication_recovery_ssl_key= @group_replication_recovery_ssl_key_save;
SET GLOBAL group_replication_recovery_ssl_verify_server_cert= @group_replication_recovery_ssl_verify_server_cert_save;
SET GLOBAL group_replication_recovery_use_ssl= @group_replication_recovery_use_ssl_save;
SET GLOBAL group_replication_single_primary_mode= @group_replication_single_primary_mode_save;
SET GLOBAL group_replication_ssl_mode= @group_replication_ssl_mode_save;
SET GLOBAL group_replication_start_on_boot= @group_replication_start_on_boot_save;
SET GLOBAL group_replication_enforce_update_everywhere_checks= @group_replication_enforce_update_everywhere_checks_save;
SET GLOBAL group_replication_recovery_public_key_path= @group_replication_recovery_public_key_path_save;
SET GLOBAL group_replication_recovery_get_public_key= @group_replication_recovery_get_public_key_save;
RUN SET GLOBAL GROUP_REPLICATION_GROUP_NAME = 'aaaaaaaa-eeee-aaaa-aaaa-aaaaaaaaaaaa'
0 rows affected
RUN SET @@GLOBAL.group_replication_ip_allowlist= "AUTOMATIC"
0 rows affected
RUN SET GLOBAL GROUP_REPLICATION_BOOTSTRAP_GROUP=1
0 rows affected
RUN START GROUP_REPLICATION
0 rows affected
RUN SET GLOBAL GROUP_REPLICATION_BOOTSTRAP_GROUP=0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
include/gr_wait_for_member_state.inc
RUN STOP GROUP_REPLICATION;
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
[connection server1]
include/gr_wait_for_member_state.inc
include/assert_and_disable_read_only.inc
include/group_replication_end.inc
|