git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1640da1
)
define CTDB_DB_SEQNUM_KEY - used with the new implementation of transactions.
author
Michael Adam
<obnox@samba.org>
Fri, 11 Dec 2009 13:19:55 +0000
(14:19 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 11 Dec 2009 23:45:38 +0000
(
00:45
+0100)
Michael
include/ctdb.h
patch
|
blob
|
history
diff --git
a/include/ctdb.h
b/include/ctdb.h
index 02709250258d37fca7aace052229a537eb082637..552726a25d7b4fb3f4c86c1a033ab70ffbfab245 100644
(file)
--- 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 {