call: add new call flag CTDB_CALL_FLAG_VACUUM_MIGRATION
authorMichael Adam <obnox@samba.org>
Fri, 10 Dec 2010 13:24:40 +0000 (14:24 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Mar 2011 22:48:29 +0000 (23:48 +0100)
This is to be used when the CTDB_SRVID_VACUUM_FETCH message
triggers the migration of deleted records to the lmaster.
The lmaster can then delete records that have not been
migrated with data instead of storing them.

include/ctdb_protocol.h

index b6b753c3c7ed3488b2b1365deb67c6e6ee2d6450..48f1b2fd44513f0f9612da90f070425d2985ace0 100644 (file)
@@ -35,6 +35,7 @@
 
 
 #define CTDB_IMMEDIATE_MIGRATION       0x00000001
+#define CTDB_CALL_FLAG_VACUUM_MIGRATION                0x00000002
 struct ctdb_call {
        int call_id;
        TDB_DATA key;