| 1 |
############################################################################### |
| 2 |
# |
| 3 |
# group_replication_exit_state_action sysvar specifies which action is taken by |
| 4 |
# a server once it has involuntarily left the group. Currently there are only |
| 5 |
# two actions: either the server continues running but with super_read_only |
| 6 |
# enabled (READ_ONLY) or it aborts (ABORT_SERVER). |
| 7 |
# |
| 8 |
# In order to verify the expected behaviour, this test shall test that the |
| 9 |
# specified exit action is executed correctly after an expel by the other |
| 10 |
# members of the group. |
| 11 |
# |
| 12 |
# Test: |
| 13 |
# 0) Setup group of 3 members (M1, M2 and M3). |
| 14 |
# 1) Force expel of member 1. |
| 15 |
# 1.1) Verify that member 1 went to super_read_only mode. |
| 16 |
# 2) Relaunch member 1 with exit state action to ABORT_SERVER. |
| 17 |
# 3) Force expel again of member 1. |
| 18 |
# 3.1) Verify that member 1 aborted. |
| 19 |
# 4) Relaunch member 1. |
| 20 |
# 5) Cleanup. |
| 21 |
# |
| 22 |
################################################################################ |
| 23 |
|
| 24 |
--source ../include/gr_exit_state_action_on_member_expel.inc |
| 25 |
|