| 1 |
include/group_replication.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
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. |
| 5 |
[connection server1] |
| 6 |
[connection server1] |
| 7 |
SET GLOBAL group_replication_message_cache_size = MESSAGE_CACHE_SIZE_MIN; |
| 8 |
include/start_and_bootstrap_group_replication.inc |
| 9 |
include/assert.inc [The value of group_replication_message_cache_size should be MESSAGE_CACHE_SIZE_MIN] |
| 10 |
[connection server2] |
| 11 |
SET GLOBAL group_replication_message_cache_size = MESSAGE_CACHE_SIZE_MIN; |
| 12 |
include/start_group_replication.inc |
| 13 |
[connection server1] |
| 14 |
CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY, c2 LONGTEXT); |
| 15 |
# sending 200 messages of approx 1MB each |
| 16 |
# sent all 200 messages |
| 17 |
include/rpl_sync.inc |
| 18 |
[connection server1] |
| 19 |
include/diff_tables.inc [server1:test.t1,server2:test.t1] |
| 20 |
DROP TABLE t1; |
| 21 |
include/rpl_sync.inc |
| 22 |
[connection server2] |
| 23 |
include/assert.inc [Assert that we allocated more than 200 entries] |
| 24 |
include/assert.inc [Assert that the cache has not exceeded the cap] |
| 25 |
include/stop_group_replication.inc |
| 26 |
SET GLOBAL group_replication_message_cache_size = MESSAGE_CACHE_SIZE_SAVED; |
| 27 |
[connection server1] |
| 28 |
include/assert.inc [Assert that we allocated more than 200 entries] |
| 29 |
include/assert.inc [Assert that the cache has not exceeded the cap] |
| 30 |
include/stop_group_replication.inc |
| 31 |
SET GLOBAL group_replication_message_cache_size = MESSAGE_CACHE_SIZE_SAVED; |
| 32 |
include/group_replication_end.inc |