define CTDB_DB_SEQNUM_KEY - used with the new implementation of transactions.
authorMichael Adam <obnox@samba.org>
Fri, 11 Dec 2009 13:19:55 +0000 (14:19 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 11 Dec 2009 23:45:38 +0000 (00:45 +0100)
Michael

include/ctdb.h

index 02709250258d37fca7aace052229a537eb082637..552726a25d7b4fb3f4c86c1a033ab70ffbfab245 100644 (file)
@@ -127,6 +127,9 @@ struct ctdb_call_info {
 /* the key used for transaction locking on persistent databases */
 #define CTDB_TRANSACTION_LOCK_KEY "__transaction_lock__"
 
+/* the key used to store persistent db sequence number */
+#define CTDB_DB_SEQNUM_KEY "__db_sequence_number__"
+
 enum control_state {CTDB_CONTROL_WAIT, CTDB_CONTROL_DONE, CTDB_CONTROL_ERROR, CTDB_CONTROL_TIMEOUT};
 
 struct ctdb_client_control_state {