]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
print the operation code in the debug message when we discard a packet
authorRonnie Sahlberg <sahlberg@ronnie>
Tue, 10 Jul 2007 22:41:29 +0000 (08:41 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Tue, 10 Jul 2007 22:41:29 +0000 (08:41 +1000)
due to incorrect generation number

(This used to be ctdb commit 3151e3b2607291572fc6e7380fd60ef7ce438307)

ctdb/server/ctdb_server.c

index 1480127327cd24f0b679aa88e02f5516f1ca74c0..4fd5b192db9cf51daa5d29e39bd504c4acad3ec0 100644 (file)
@@ -237,11 +237,13 @@ void ctdb_input_pkt(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
                   same generation instance as this node
                */
                if (ctdb->vnn_map->generation != hdr->generation) {
-                       DEBUG(0,(__location__ " ctdb request %u"
+                       DEBUG(0,(__location__ " ctdb operation %u"
+                               " request %u"
                                " length %u from node %u to %u had an"
                                " invalid generation id:%u while our"
                                " generation id is:%u\n", 
-                                hdr->reqid, hdr->length, 
+                                hdr->operation, hdr->reqid,
+                                hdr->length, 
                                 hdr->srcnode, hdr->destnode, 
                                 hdr->generation, ctdb->vnn_map->generation));
                        goto done;