server: extend a debug message in ctdb_control_trans2_error()
authorMichael Adam <obnox@samba.org>
Thu, 29 Oct 2009 12:54:55 +0000 (13:54 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 29 Oct 2009 22:24:17 +0000 (09:24 +1100)
Michael

server/ctdb_persistent.c

index c011d97fc63e477550737ce82f2af4feb18aef62..f2bbe5d1f34af0b66ef0245f6a056fc5911286f7 100644 (file)
@@ -609,7 +609,9 @@ int32_t ctdb_control_trans2_error(struct ctdb_context *ctdb,
                client->num_persistent_updates--;
        }
 
-       DEBUG(DEBUG_ERR,(__location__ " Forcing recovery\n"));
+       DEBUG(DEBUG_ERR,(__location__ " An error occurred during transaction on"
+                        " db_id[0x%08x] - forcing recovery\n",
+                        ctdb_db->db_id));
        client->ctdb->recovery_mode = CTDB_RECOVERY_ACTIVE;
 
        return 0;