[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-34-g16f265e

Ronnie Sahlberg sahlberg at samba.org
Thu Feb 11 15:24:45 MST 2010


The branch, 1.0.112 has been updated
       via  16f265e4f2d3a6154dd77215e853a45379aeff80 (commit)
       via  443c4518a0036de257fbe08fb57fc65ffae49bc6 (commit)
      from  b0cf567a88deee913ff03f721898af54c2877261 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112


- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 packaging/RPM/ctdb.spec.in |    7 ++++++-
 server/eventscript.c       |    4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/RPM/ctdb.spec.in b/packaging/RPM/ctdb.spec.in
index c14d4cc..b83303b 100644
--- a/packaging/RPM/ctdb.spec.in
+++ b/packaging/RPM/ctdb.spec.in
@@ -5,7 +5,7 @@ Vendor: Samba Team
 Packager: Samba Team <samba at samba.org>
 Name: ctdb
 Version: 1.0.112
-Release: 6
+Release: 7
 Epoch: 0
 License: GNU GPL version 3
 Group: System Environment/Daemons
@@ -123,6 +123,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/ctdb/tests/bin/ctdb_transaction
 
 %changelog
+* Thu Feb 11 2010 : Version 1.0.112-7
+ - Add logging of process if we detect we have started to swap from
+   the 00.ctdb eventscript.
+ - Reduce the log level of various messages to stop them spamming the log file
+ - Add a variable to disable checking if kNFSd has hung/died or not
 * Tue Feb 9 2010 : Version 1.0.112-6
  - Reduce the log level for debug messages related to tracking filedescriptors
    being created.
diff --git a/server/eventscript.c b/server/eventscript.c
index 9ce9cee..e0908e1 100644
--- a/server/eventscript.c
+++ b/server/eventscript.c
@@ -145,7 +145,7 @@ static bool check_executable(const char *dir, const char *name)
 	}
 
 	if (!(st.st_mode & S_IXUSR)) {
-		DEBUG(DEBUG_INFO,("Event script %s is not executable. Ignoring this event script\n", full));
+		DEBUG(DEBUG_DEBUG,("Event script %s is not executable. Ignoring this event script\n", full));
 		errno = ENOEXEC;
 		talloc_free(full);
 		return false;
@@ -365,7 +365,7 @@ static int child_run_script(struct ctdb_context *ctdb,
 	CTDB_NO_MEMORY(ctdb, cmdstr);
 	child_state.script_running = cmdstr;
 
-	DEBUG(DEBUG_INFO,("Executing event script %s\n",cmdstr));
+	DEBUG(DEBUG_DEBUG,("Executing event script %s\n",cmdstr));
 
 	if (current->status) {
 		ret = current->status;


-- 
CTDB repository


More information about the samba-cvs mailing list