summaryrefslogtreecommitdiff
path: root/ctdb/protocol/protocol.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-02-23 18:03:10 +1100
committerMartin Schwenke <martins@samba.org>2016-03-25 03:26:15 +0100
commitc5776f0529dd23979dd3ef36ffe7d7b8eb444d0d (patch)
treedc40cd09bdbd0696142a9e081323071ca4e7b3f0 /ctdb/protocol/protocol.h
parentb1e8714bb851067a0e0cf5976ffe40095ba5ae03 (diff)
downloadsamba-c5776f0529dd23979dd3ef36ffe7d7b8eb444d0d.tar.gz
ctdb-protocol: Add srvid for messages during recovery
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol/protocol.h')
-rw-r--r--ctdb/protocol/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h
index e4bc3b9a0d4..25bf509d39e 100644
--- a/ctdb/protocol/protocol.h
+++ b/ctdb/protocol/protocol.h
@@ -121,6 +121,9 @@ struct ctdb_call {
/* SRVID prefix used by CTDB */
#define CTDB_SRVID_PREFIX 0xF000000000000000LL
+/* SRVID prefix used during recovery for pulling and pushing databases */
+#define CTDB_SRVID_RECOVERY 0xF001000000000000LL
+
/* SRVID to inform of election data */
#define CTDB_SRVID_ELECTION 0xF100000000000000LL