summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c6
1 files changed, 6 insertions, 0 deletions
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<num_pids; i++) {
if (reqid == reqids[i]) {
break;