diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-28 13:38:34 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-28 13:41:08 +1100 |
commit | db8cb31d8b8d773b5a655354b69e92dd4489c51b (patch) | |
tree | ee9efcbd4fd224b77b6674b6988eee54f4f275d5 /ctdb/server/ctdb_call.c | |
parent | 0d75856bb70a74346b2ca8d9680c940b95918003 (diff) | |
download | samba-db8cb31d8b8d773b5a655354b69e92dd4489c51b.tar.gz |
during shutdown there is a window after we have stopped TCP and disconnected from all other nodes but before we have stopped all processing.
During this window we may still hit asynchronous events that will fail because we can not send/receive packets from other nodes.
These messages are logged as ... Transport is DOWN. To help indicate that they are benign messages related to the process of shutting down.
These messages spam the syslog during normal shutdown, so this patch will drop the loglevel of these messages to DEBUG, so that they will not appear in or spam the syslog.
(This used to be ctdb commit 8275d265d2ae19b765e30ecf18f6b6319b6e6453)
Diffstat (limited to 'ctdb/server/ctdb_call.c')
-rw-r--r-- | ctdb/server/ctdb_call.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c index 0bb7902dc3f..c5f7e7d4304 100644 --- a/ctdb/server/ctdb_call.c +++ b/ctdb/server/ctdb_call.c @@ -70,7 +70,7 @@ static void ctdb_send_error(struct ctdb_context *ctdb, int msglen, len; if (ctdb->methods == NULL) { - DEBUG(DEBUG_ERR,(__location__ " Failed to send error. Transport is DOWN\n")); + DEBUG(DEBUG_INFO,(__location__ " Failed to send error. Transport is DOWN\n")); return; } @@ -413,7 +413,7 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr) struct ctdb_db_context *ctdb_db; if (ctdb->methods == NULL) { - DEBUG(DEBUG_ERR,(__location__ " Failed ctdb_request_call. Transport is DOWN\n")); + DEBUG(DEBUG_INFO,(__location__ " Failed ctdb_request_call. Transport is DOWN\n")); return; } @@ -730,7 +730,7 @@ struct ctdb_call_state *ctdb_daemon_call_send_remote(struct ctdb_db_context *ctd struct ctdb_context *ctdb = ctdb_db->ctdb; if (ctdb->methods == NULL) { - DEBUG(DEBUG_ERR,(__location__ " Failed send packet. Transport is down\n")); + DEBUG(DEBUG_INFO,(__location__ " Failed send packet. Transport is down\n")); return NULL; } @@ -814,7 +814,7 @@ void ctdb_send_keepalive(struct ctdb_context *ctdb, uint32_t destnode) struct ctdb_req_keepalive *r; if (ctdb->methods == NULL) { - DEBUG(DEBUG_ERR,(__location__ " Failed to send keepalive. Transport is DOWN\n")); + DEBUG(DEBUG_INFO,(__location__ " Failed to send keepalive. Transport is DOWN\n")); return; } |