summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-04-22 15:24:49 +1000
committerMichael Adam <obnox@samba.org>2014-04-23 17:05:45 +0200
commit463ea9e52541aaadcdcf97808d05ca6dacbbea6e (patch)
tree13e69b7cbdd43a4fea2979b9149c1de0cdfe5c0a /ctdb/include
parentb31240acafb20100cf249c6346fb41f90a06158b (diff)
ctdb-recoverd: Detach database from recovery daemon
As part of vacuuming, recoverd attaches to databases to migrate records. When detaching a database from main daemon, it should be removed from recovery daemon also. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Apr 23 17:05:45 CEST 2014 on sn-devel-104
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index f2d68f4c3a..629c91c0cd 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -114,6 +114,10 @@ struct ctdb_call_info {
#define CTDB_SRVID_VACUUM_FETCH 0xF700000000000000LL
/*
+ * a message to tell recovery daemon to detach a database
+ */
+#define CTDB_SRVID_DETACH_DATABASE 0xF701000000000000LL
+/*
a message to tell the recovery daemon to write a talloc memdump
to the log
*/