mars/test_suite/default-switch2primary.conf

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2013-08-06 12:29:21 +00:00
#!/bin/bash
# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG
#
# Email: frank.liepold@1und1.de
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#####################################################################
## maxtime to wait for sync to stop
switch2primary_maxtime_sync=300
## time for which the amount of data to sync must be constant
## to declare the sync process as inactive
switch2primary_time_constant_sync=10
## maxtime to wait for (new) primary to become disk state = Uptodate and
## repl state = Replicating
switch2primary_maxtime_state_constant=60
## switch to primary may need some tries ..
switch2primary_max_tries=10