]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Add debug messages for unimplemented functions
authorAmitay Isaacs <amitay@gmail.com>
Mon, 19 Mar 2018 03:26:09 +0000 (14:26 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 27 Mar 2018 02:27:24 +0000 (04:27 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/fake_ctdbd.c

index 070feda3b23d3ec1169378b3004c612b5a7512b7..7d18de4cc9dc7f0ba93ad49b46d010afa76ac570 100644 (file)
@@ -3553,6 +3553,8 @@ static void control_error(TALLOC_CTX *mem_ctx,
 {
        struct ctdb_reply_control reply;
 
+       D_DEBUG("Control %u not implemented\n", request->opcode);
+
        reply.rdata.opcode = request->opcode;
        reply.status = -1;
        reply.errmsg = "Not implemented";
@@ -3957,6 +3959,8 @@ static void client_process_message(struct tevent_req *req,
                message_disable_recoveries(mem_ctx, req, &header, &request);
        } else if (srvid == CTDB_SRVID_TAKEOVER_RUN) {
                message_takeover_run(mem_ctx, req, &header, &request);
+       } else {
+               D_DEBUG("Message id 0x%"PRIx64" not implemented\n", srvid);
        }
 
        /* check srvid */