Rev 179: debug changes in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Sun Apr 22 14:39:55 GMT 2007
------------------------------------------------------------
revno: 179
revision-id: tridge at samba.org-20070422143955-dxs2la9avaiz2ue6
parent: tridge at samba.org-20070422122645-58g3itembhj40xax
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sun 2007-04-22 16:39:55 +0200
message:
debug changes
modified:
tools/ctdb_dump.c ctdb_dump.c-20070422072106-vavpof4y9zz8z2lh-1
tools/ctdb_status.c ctdb_status.c-20070420100703-w2y116bm9be7hmlv-2
=== modified file 'tools/ctdb_dump.c'
--- a/tools/ctdb_dump.c 2007-04-22 12:26:45 +0000
+++ b/tools/ctdb_dump.c 2007-04-22 14:39:55 +0000
@@ -52,10 +52,11 @@
} else {
keystr = hex_encode(NULL, key.dptr, key.dsize);
}
- printf(" rec %s lmaster=%u dmaster=%u\n",
+ printf(" rec %s lmaster=%u dmaster=%u %c\n",
keystr,
ctdb_hash(&key) % (*num_nodes),
- h->dmaster);
+ h->dmaster,
+ );
talloc_free(keystr);
return 0;
}
=== modified file 'tools/ctdb_status.c'
--- a/tools/ctdb_status.c 2007-04-20 11:02:53 +0000
+++ b/tools/ctdb_status.c 2007-04-22 14:39:55 +0000
@@ -42,7 +42,7 @@
printf(" req_status %u\n", s->client.req_status);
printf(" node_packets_sent %u\n", s->node_packets_sent);
printf(" node_packets_recv %u\n", s->node_packets_recv);
- printf(" req_call %u\n", s->client.req_call);
+ printf(" req_call %u\n", s->count.req_call);
printf(" reply_call %u\n", s->count.reply_call);
printf(" reply_redirect %u\n", s->count.reply_redirect);
printf(" req_dmaster %u\n", s->count.req_dmaster);
More information about the samba-cvs
mailing list