| 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 |
|
| 7 |
############################################################ |
| 8 |
# 1. Verify that the entries corresponding to the |
| 9 |
# instrumented memory are in the setup instruments |
| 10 |
# table and the memory summary tables. |
| 11 |
SELECT * FROM performance_schema.setup_instruments WHERE NAME LIKE 'memory/group_rpl/certification_data_gc'; |
| 12 |
NAME ENABLED TIMED PROPERTIES FLAGS VOLATILITY DOCUMENTATION |
| 13 |
memory/group_rpl/certification_data_gc YES NULL global_statistics 0 Memory used to hold the GTID_EXECUTED sent by each member for garbage collection. |
| 14 |
include/assert.inc ['There should be 1 entry corresponding to the certification_data_gc in the setup_instruments table after starting GR'] |
| 15 |
SELECT EVENT_NAME FROM performance_schema.memory_summary_global_by_event_name WHERE EVENT_NAME LIKE 'memory/group_rpl/certification_data_gc'; |
| 16 |
EVENT_NAME |
| 17 |
memory/group_rpl/certification_data_gc |
| 18 |
include/assert.inc ['There should be 1 entry corresponding to the certification_data_gc in the memory_summary_global_by_event_name table after starting GR'] |
| 19 |
|
| 20 |
############################################################ |
| 21 |
# 2. Verify that the sum of bytes allocated is greater than |
| 22 |
# zero. |
| 23 |
|
| 24 |
############################################################ |
| 25 |
# 3. Stop GR |
| 26 |
include/stop_group_replication.inc |
| 27 |
|
| 28 |
############################################################## |
| 29 |
# 4. Verify that the entries corresponding to the instrumented |
| 30 |
# certification_data_gc remain in the tables after stopping GR. |
| 31 |
SELECT * FROM performance_schema.setup_instruments WHERE NAME LIKE 'memory/group_rpl/certification_data_gc'; |
| 32 |
NAME ENABLED TIMED PROPERTIES FLAGS VOLATILITY DOCUMENTATION |
| 33 |
memory/group_rpl/certification_data_gc YES NULL global_statistics 0 Memory used to hold the GTID_EXECUTED sent by each member for garbage collection. |
| 34 |
include/assert.inc ['There should be 1 entry corresponding to the certification_data_gc in the setup_instruments table after stopping GR'] |
| 35 |
SELECT EVENT_NAME, CURRENT_NUMBER_OF_BYTES_USED FROM performance_schema.memory_summary_global_by_event_name WHERE EVENT_NAME LIKE 'memory/group_rpl/certification_data_gc'; |
| 36 |
EVENT_NAME CURRENT_NUMBER_OF_BYTES_USED |
| 37 |
memory/group_rpl/certification_data_gc 0 |
| 38 |
include/assert.inc ['There should be 1 entry corresponding to the certification_data_gc in the memory_summary_global_by_event_name table after stopping GR'] |
| 39 |
|
| 40 |
################################################################# |
| 41 |
# 5. Assert that the number of bytes allocated for |
| 42 |
# certification_data_gc event must be 0. |
| 43 |
include/assert.inc ['The sum of bytes allocated must be zero after stopping GR'] |
| 44 |
|
| 45 |
include/group_replication_end.inc |