| 1 |
################################################################################ |
| 2 |
# Validate that when a group looses the majority, if the faulty member tries to |
| 3 |
# rejoin it will be disallowed to unblock the group and user needs to use |
| 4 |
# group_replication_force_members option. |
| 5 |
# |
| 6 |
# 0. Start with 2 servers running GR |
| 7 |
# 1. Crash server 2. |
| 8 |
# 2. Execute a transaction on server 1, which will block |
| 9 |
# since the group does not have majority. |
| 10 |
# 3. Assert that group is still blocked. |
| 11 |
# 4. Restart server 2 with group_replication_start_on_boot=ON, |
| 12 |
# server 2 will be refused to join the group. |
| 13 |
# 5. Unblock group with server1 as a single member. |
| 14 |
# 6. Check that statement did unblock and was applied on |
| 15 |
# server1. |
| 16 |
# 7. Rejoin server2 |
| 17 |
# 8. Execute a transaction on both members. |
| 18 |
# 9. Validate data. |
| 19 |
#10. Clean up. |
| 20 |
################################################################################ |
| 21 |
|
| 22 |
--source ../include/gr_majority_loss_restart.inc |