1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb
Martin Schwenke b7bfe46636 ctdb/eventscripts: Move all eventscript state under $CTDB_VARDIR/state
Services can be flagged for reconfigure when they release IPs at
shutdown.  The flag is never removed and the service is prematurely
reconfigured during the first "ipreallocated" event, before any IPs
are hosted and before the "startup" event has actually started the
services.

$CTDB_VARDIR/state directly contained the service state subdirectories
and is already removed in the "init" event.  Just push the service
state subdirectories down a level and put everything else in a
subdirectory.

This way all the eventscript state gets cleaned up every time CTDB
starts up.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Jan 17 09:58:26 CET 2014 on sn-devel-104
2014-01-17 09:58:26 +01:00
..
client ctdb-client: Treat empty __db_sequence_number__ record as 0 2013-11-27 18:46:16 +01:00
common ctdb-common: mkdir_p should not try to create . 2014-01-16 11:41:12 +11:00
config ctdb/eventscripts: Move all eventscript state under $CTDB_VARDIR/state 2014-01-17 09:58:26 +01:00
doc ctdb-doc: Update ctdb.1 - primarily to add pdelete/pfetch/pstore/ptrans 2013-11-27 18:46:16 +01:00
ib Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
include ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
lib samba:python - Py_RETURN_NONE remove compatibility code for releases < 2.4 2014-01-09 16:27:47 +01:00
packaging ctdb-daemon: Add helper process to execute event scripts 2014-01-16 12:11:37 +11:00
server ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
tcp ctdb-tcp: Coverity fixes 2013-11-19 17:13:06 +01:00
tests ctdb/eventscripts: Print a count if killing TCP connections times out 2014-01-17 17:59:34 +11:00
tools ctdb-tools/ctdb: Improve error checking when parsing node string 2013-11-27 18:46:17 +01:00
utils Improved check_ctdb 2013-10-24 16:54:08 +11:00
web web: Add links to new manpages 2013-10-30 15:37:54 +11:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +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 ctdb-build: Update to latest upstream config.guess 2013-11-27 18:46:15 +01: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: Move the default CTDB socket from /tmp to /var/run/ctdb 2013-10-25 12:06:07 +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 ctdb-daemon: Add helper process to execute event scripts 2014-01-16 12:11:37 +11:00
NEWS ctdb: Update NEWS 2013-11-27 18:46:17 +01: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.