From 4b1dbcf0853bdc4832d39a477823ae34f216da52 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Dec 2009 14:19:55 +0100 Subject: [PATCH] define CTDB_DB_SEQNUM_KEY - used with the new implementation of transactions. Michael --- include/ctdb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ctdb.h b/include/ctdb.h index 02709250..552726a2 100644 --- a/include/ctdb.h +++ b/include/ctdb.h @@ -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 { -- 2.34.1