1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Martin Schwenke f082f4006f Eventscripts: 10.interface startup event should only process interfaces once
Provided that monitor_interfaces() sets the state of each interface,
there's no need to mark all interfaces as up before running
monitor_interfaces() in the startup event.  monitor_interfaces() will
set the true status of each interface anyway.  The duplication is
unnecessary and may cause extra action in the recovery daemon because
the state of some interfaces is changed an extra time.

Instead, add a comment at the top of the loop in monitor_interfaces()
to warn against early loop exits.

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

(This used to be ctdb commit f243a916ee71013f7402b9c396c2ead88eb3aab0)
2012-11-14 10:57:48 +11:00
..
client util: ctdb_fork() closes all sockets opened by the main daemon 2012-10-05 11:56:12 +10:00
common recoverd: Add CTDB_SRVID_GETLOG and CTDB_SRVID_CLEARLOG 2012-10-22 11:15:36 +11:00
config Eventscripts: 10.interface startup event should only process interfaces once 2012-11-14 10:57:48 +11:00
doc doc: Do not keep the built version of manpages in version control 2012-10-22 18:15:17 +11:00
ib Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
include recoverd: Add CTDB_SRVID_GETLOG and CTDB_SRVID_CLEARLOG 2012-10-22 11:15:36 +11:00
lib build: Fix the build with old system-installed tevent 2012-11-08 12:57:58 +11:00
libctdb libctdb: Add comments to effect that some controls return result in status 2012-10-02 17:37:52 +10:00
packaging packaging: Use maketarball.sh script to create tarball for RPM 2012-10-30 18:01:38 +11:00
server ctdbd: Fix compilation warning in locking code 2012-10-31 12:33:25 +11:00
tcp ctdbd: Log a meaningful message if the nodes file/list is empty 2012-07-26 22:10:54 +10:00
tests tests: Do not check release suffix in ctdb version test 2012-10-31 12:19:03 +11:00
tools tool/ctdb: Always support ctdb version command, don't make it optional 2012-10-30 11:56:00 +11:00
utils Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
web web: Update instructions for building from tarball 2012-10-31 12:19:08 +11:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore Update .gitignore for eventscript testing fu. 2012-03-22 15:30:27 +11: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 Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
configure.ac Build: Set the default ctdb socket path at configure time 2012-10-21 01:39:08 +11: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: Add rules to create include/version.h when building from git tree 2012-10-30 11:55:59 +11: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.