summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@ronnie>2007-05-05 13:17:26 +1000
committerRonnie Sahlberg <sahlberg@ronnie>2007-05-05 13:17:26 +1000
commit5cb817f031dcbc05ca22fbe087fc0546bc6e2169 (patch)
tree2b2827e7d6719b572d953357f524cb7a8ecc7843 /ctdb/include
parent86b78a5d04cd926396f824483fea9c32f9cc5ce5 (diff)
split the vnn broadcast address into two
one broadcast address for all nodes and one broadcast address for all nodes in the current vnnmap update all useage of the old flag to now only broadcast to the vnnmap except for tools/ctdb_control where it makes more sense to broadcast to all nodes (This used to be ctdb commit dfb65b88cf67ad9d61268c4b47a6d8ae346f47df)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 81cf60f1cf..6eb915e57f 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -33,8 +33,12 @@
#define CTDB_NULL_FUNC 0xFF000001
#define CTDB_FETCH_FUNC 0xFF000002
-#define CTDB_CURRENT_NODE 0xF0000001
-#define CTDB_BROADCAST_VNN 0xF0000002
+/* used on the domain socket, send a pdu to the local daemon */
+#define CTDB_CURRENT_NODE 0xF0000001
+/* send a broadcast to all nodes in the cluster, active or not */
+#define CTDB_BROADCAST_ALL 0xF0000002
+/* send a broadcast to all nodes in the current vnn map */
+#define CTDB_BROADCAST_VNNMAP 0xF0000003
#define CTDB_MAX_REDIRECT_COUNT 3
#define CTDB_DEFAULT_SEQNUM_FREQUENCY 1