test_suite: add new split brain test cases

This commit is contained in:
Frank Liepold 2014-01-07 10:52:44 +01:00
parent 1bb989d41f
commit 100715e698
103 changed files with 31 additions and 2 deletions

View File

@ -37,13 +37,42 @@ switch2primary_time_constant_fetch=10
## repl state = Replicating
switch2primary_maxtime_state_constant=60
## flag, whether switch should use --force
## flag whether switch should use --force
switch2primary_force=0
## switch to primary may need some tries ..
switch2primary_max_tries=10
## flag whether - in case of split brain - the orig primary should become the
## new one or we switch to the orig secondary
switch2primary_orig_prim_equal_new_prim=0
## flag whether the secondary should become primary while the connection to
## the former primary is alive (this causes a split brain)
switch2primary_orig_primary_alive=0
## in case of split brain it's necessary to reactivate the secondary after the
## primary has been determined. This flag defines whether the reactivation
## should be done as documented or by the "hardcore" method leave-resource
## join-resource
switch2primary_activate_secondary_hardcore=0
## marsadm primary tries to switch other primaries to secondaries. This fails
## if the data device of another primary is in use (i.e. opened by another
## process). Though we must distinguish two cases
switch2primary_data_dev_in_use=1
## flag whether marsadm log-rotate and log-delete should be called before
## marsadm --force primary
switch2primary_logrotate_orig_primary=0
## flags whether marsadm log-rotate and log-delete should be called before
## in split brain situation (= after marsadm --force primary) on original
## primary resp. secondary
switch2primary_logrotate_split_brain_orig_primary=0
switch2primary_logrotate_split_brain_orig_secondary=0
## flags whether marsadm log-rotate and log-delete should be called during
## the test of the new primary
## primary resp. secondary
switch2primary_logrotate_new_primary=0

View File

@ -24,4 +24,4 @@ switch2primary_force=1
lib_rw_part_of_device_size_written_per_loop=10
run_list="resource_prepare resource_run_first switch2primary_run lib_general_checks_after_every_test"
run_list="switch2primary_run lib_general_checks_after_every_test"
run_list="resource_quick_prepare_first_resource switch2primary_run lib_general_checks_after_every_test"

Some files were not shown because too many files have changed in this diff Show More