From 195ae03950b8130b8c3caed65123c87882af595e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 26 Oct 2011 17:51:09 +0200 Subject: s3-ctdb: Add debug to ctdb_processes_exist --- source3/lib/ctdbd_conn.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 7733f1ecd8..8bd7caffb9 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -950,6 +950,10 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn, ZERO_STRUCT(req); + DEBUG(10, ("Requesting PID %d/%d, reqid=%d\n", + (int)pids[i].vnn, (int)pids[i].pid, + (int)reqids[i])); + req.hdr.length = offsetof(struct ctdb_req_control, data); req.hdr.length += sizeof(pid_t); req.hdr.ctdb_magic = CTDB_MAGIC; @@ -1004,6 +1008,8 @@ bool ctdb_processes_exist(struct ctdbd_connection *conn, reqid = reply->hdr.reqid; + DEBUG(10, ("Received reqid %d\n", (int)reqid)); + for (i=0; i