ReadOnly: Add 4 new record flags to handle read only delegation and revoking of deleg...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 20 Jul 2011 02:17:27 +0000 (12:17 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 5 Feb 2012 22:02:48 +0000 (09:02 +1100)
include/ctdb_protocol.h

index b805182b6fee9e18dca204f77ca0de986510303b..da7f0528d3552d8626892d2ec6cd42cf911aa598 100644 (file)
@@ -488,6 +488,10 @@ struct ctdb_ltdb_header {
 #define CTDB_REC_FLAG_MIGRATED_WITH_DATA       0x00010000
 #define CTDB_REC_FLAG_VACUUM_MIGRATED          0x00020000
 #define CTDB_REC_FLAG_AUTOMATIC                        0x00040000
+#define CTDB_REC_RO_HAVE_DELEGATIONS           0x01000000
+#define CTDB_REC_RO_HAVE_READONLY              0x02000000
+#define CTDB_REC_RO_REVOKING_READONLY          0x04000000
+#define CTDB_REC_RO_REVOKE_COMPLETE            0x08000000
        uint32_t flags;
 };