summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@ronnie>2007-04-28 01:06:26 +1000
committerRonnie Sahlberg <sahlberg@ronnie>2007-04-28 01:06:26 +1000
commit916c55ec2ffcb28ff65a23cef21aa3333ce43dd6 (patch)
tree9e67582172c9f0f90fa324e9675c1253eeec9efe /ctdb/include
parent5b4ebe134515e52735c2524d534f32b0690cd6c0 (diff)
add a generation field to the pdu header.
this will allow a node to verify that a received pdu is sent from a node in the same generation instance of a cluster. (This used to be ctdb commit e32d3ca9a622237c4e2622de98825c0962760d48)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index f3d0f72e12..3c249c25f5 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -312,6 +312,7 @@ struct ctdb_req_header {
uint32_t length;
uint32_t ctdb_magic;
uint32_t ctdb_version;
+ uint32_t generation;
uint32_t operation;
uint32_t destnode;
uint32_t srcnode;