[SCM] CTDB repository - branch master updated - ctdb-1.0.105-2-gfbc4537
Ronnie Sahlberg
sahlberg at samba.org
Mon Nov 23 15:28:05 MST 2009
The branch, master has been updated
via fbc453733d53359b9eba34a7ca9123237a7ecca5 (commit)
from c4b05a731e1bee8f5b46529773a4f5389b2b6064 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit fbc453733d53359b9eba34a7ca9123237a7ecca5
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Nov 24 09:27:22 2009 +1100
reduce the log level for three vacuuming related log messages
-----------------------------------------------------------------------
Summary of changes:
server/ctdb_vacuum.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/server/ctdb_vacuum.c b/server/ctdb_vacuum.c
index da887db..97a7dfb 100644
--- a/server/ctdb_vacuum.c
+++ b/server/ctdb_vacuum.c
@@ -725,7 +725,7 @@ static int vacuum_child_destructor(struct ctdb_vacuum_child_context *child_ctx)
struct ctdb_db_context *ctdb_db = child_ctx->vacuum_handle->ctdb_db;
struct ctdb_context *ctdb = ctdb_db->ctdb;
- DEBUG(DEBUG_ERR,("Vacuuming took %.3f seconds for database %s\n", l, ctdb_db->db_name));
+ DEBUG(DEBUG_INFO,("Vacuuming took %.3f seconds for database %s\n", l, ctdb_db->db_name));
if (child_ctx->child_pid != -1) {
kill(child_ctx->child_pid, SIGKILL);
@@ -764,7 +764,7 @@ static void vacuum_child_handler(struct event_context *ev, struct fd_event *fde,
char c = 0;
int ret;
- DEBUG(DEBUG_NOTICE,("Vacuuming child process %d finished for db %s\n", child_ctx->child_pid, child_ctx->vacuum_handle->ctdb_db->db_name));
+ DEBUG(DEBUG_INFO,("Vacuuming child process %d finished for db %s\n", child_ctx->child_pid, child_ctx->vacuum_handle->ctdb_db->db_name));
child_ctx->child_pid = -1;
ret = read(child_ctx->fd[0], &c, 1);
@@ -827,7 +827,7 @@ ctdb_vacuum_event(struct event_context *ev, struct timed_event *te,
char cc = 0;
close(child_ctx->fd[0]);
- DEBUG(DEBUG_NOTICE,("Vacuuming child process %d for db %s started\n", getpid(), ctdb_db->db_name));
+ DEBUG(DEBUG_INFO,("Vacuuming child process %d for db %s started\n", getpid(), ctdb_db->db_name));
if (switch_from_server_to_client(ctdb) != 0) {
DEBUG(DEBUG_CRIT, (__location__ "ERROR: failed to switch vacuum daemon into client mode. Shutting down.\n"));
--
CTDB repository
More information about the samba-cvs
mailing list