1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/ctdb
Martin Schwenke 30a50c6e1e recoverd: Stabilise the recovery master role
On rare occasions when a node that has been inactive it will trigger
an election when it becomes active again.  If that node has been up
for the longest then it will win the election and the recovery master
role will spuriously move.

While a node remains inactive we reset the priority time to discourage
it from winning elections.  The priority time will now reflect roughly
how long the node has been active rather than how long it has been up.
That means the most stable node is more likely to win elections.

Having a stable recovery master means that disabling takeover runs
while reloading IPs is more likely to succeed.  It also improves the
chances of being able to cache information in the recovery master -
for example, between takeover runs.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit f0f48f22f45e4c82eba2582efae307e25385de81)
2013-09-19 12:54:29 +10:00
..
client client: Remove unused function list_of_active_nodes_except_pnn() 2013-09-11 15:35:03 +10:00
common common: Make parse_ip() valgrind-clean 2013-09-11 15:35:38 +10:00
config eventscripts: Clean up monitoring of system memory in 00.ctdb 2013-09-11 15:34:30 +10:00
doc doc: Update XML files to use standard DocBook DTD 2013-07-29 15:58:51 +10:00
ib Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
include client: Remove unused function list_of_active_nodes_except_pnn() 2013-09-11 15:35:03 +10:00
lib db_wrap: Make sure tdb messages are logged correctly 2013-08-14 16:55:51 +10:00
libctdb ctdbd: Remove incomplete ctdb_db_statistics_wire structure 2013-07-29 16:00:46 +10:00
packaging packaging: Remove pushd/popd from maketarball.sh, don't need bash 2013-08-22 17:00:20 +10:00
server recoverd: Stabilise the recovery master role 2013-09-19 12:54:29 +10:00
tcp Fixes for various issues found by Coverity 2013-07-11 15:16:55 +10:00
tests tests/eventscripts: Tests for memory checking in 00.ctdb 2013-09-11 15:34:42 +10:00
tools tools/ctdb: list_of_active_nodes_except_pnn() -> list_of_nodes() 2013-09-11 15:34:58 +10:00
utils Update Nagios check to work with ctdb versions past 30 Aug 2011 2013-07-11 15:18:06 +10:00
web web: Update webpages 2013-07-11 15:16:55 +10:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated ctdb.spec file 2013-05-29 16:24:04 +10:00
aclocal.m4 initial version 2006-11-18 10:41:20 +11:00
autogen.sh event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
config.guess build: Update config.guess 2012-12-30 and config.sub to 2013-01-11 2013-01-22 18:03:37 +11:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub build: Update config.guess 2012-12-30 and config.sub to 2013-01-11 2013-01-22 18:03:37 +11:00
configure.ac build: Separate autoconf macros for pmda 2013-05-28 14:24:16 +10:00
configure.rpm fixed permissions on configure.rpm 2008-04-22 16:48:25 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
ctdb.pc.in (This used to be ctdb commit b0718551f55d5da9be0e6aba233f57c1ff8509be) 2009-04-08 09:14:20 +10:00
install-sh initial version 2006-11-18 10:41:20 +11:00
Makefile.in build: Fix build dependencies for ctdb_lock_tdb 2013-08-22 17:59:59 +10:00
NEWS doc: Update NEWS 2013-08-22 18:07:49 +10:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
README.Coding Add a code-style document. 2010-07-30 16:37:22 +10:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.