ctdb-daemon: Remove setting of debug_extra
authorAmitay Isaacs <amitay@gmail.com>
Fri, 25 Nov 2016 03:50:01 +0000 (14:50 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 5 Dec 2016 07:09:22 +0000 (08:09 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_call.c
ctdb/server/ctdb_monitor.c
ctdb/server/ctdb_takeover.c
ctdb/server/ctdb_update_record.c

index fed52ccb6c7a14d53a0fb1daec104050771592d9..a05ec1a9c7d40d436715d4a6f810c7df7b610563 100644 (file)
@@ -1853,7 +1853,6 @@ int ctdb_start_revoke_ro_record(struct ctdb_context *ctdb, struct ctdb_db_contex
        if (rc->child == 0) {
                char c = 0;
                close(rc->fd[0]);
-               debug_extra = talloc_asprintf(NULL, "revokechild-%s:", ctdb_db->db_name);
 
                prctl_set_comment("ctdb_revokechild");
                if (switch_from_server_to_client(ctdb) != 0) {
index f0a427b30ed32fcf76b3785991a7627861f4a21e..738acb1167ba0b10d7e8c8d7e583c0f917a6bf07 100644 (file)
@@ -106,7 +106,6 @@ void ctdb_run_notification_script(struct ctdb_context *ctdb, const char *event)
                int ret;
 
                prctl_set_comment("ctdb_notification");
-               debug_extra = talloc_asprintf(NULL, "notification-%s:", event);
                ret = ctdb_run_notification_script_child(ctdb, event);
                if (ret != 0) {
                        DEBUG(DEBUG_ERR,(__location__ " Notification script failed\n"));
index 4251aef0bd4cabd2610f42dbcc4e7cb648eaa7ae..40c2b5d1baa4ca8af390e925a30607642987a19f 100644 (file)
@@ -3111,7 +3111,6 @@ int32_t ctdb_control_reload_public_ips(struct ctdb_context *ctdb, struct ctdb_re
                signed char res = 0;
 
                close(h->fd[0]);
-               debug_extra = talloc_asprintf(NULL, "reloadips:");
 
                prctl_set_comment("ctdb_reloadips");
                if (switch_from_server_to_client(ctdb) != 0) {
index 63d1b5c1212e50073f145aa587ac728943b15232..046e42f38a9b02e9b995277572e7589968e38e47 100644 (file)
@@ -268,7 +268,6 @@ static struct childwrite_handle *ctdb_childwrite(
 
                close(result->fd[0]);
                prctl_set_comment("ctdb_write_persistent");
-               debug_extra = talloc_asprintf(NULL, "childwrite-%s:", ctdb_db->db_name);
                ret = ctdb_persistent_store(state);
                if (ret != 0) {
                        DEBUG(DEBUG_ERR, (__location__ " Failed to write persistent data\n"));