git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d04c5
)
common: Protocol Version change to 2 for the use of the jenkins hash in ctdb_hash()
author
Stefan Metzmacher
<metze@samba.org>
Tue, 14 Sep 2010 11:28:29 +0000
(13:28 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 8 Oct 2010 07:02:44 +0000
(09:02 +0200)
ctdb_hash() is mainly used to calculate the lmaster of a record
for non-persistent databases. With this change the lmaster roles
should be spreaded more balanced over all nodes.
metze
include/ctdb_protocol.h
patch
|
blob
|
history
diff --git
a/include/ctdb_protocol.h
b/include/ctdb_protocol.h
index 750f1f091bea49d829aaffe766dd34df28236cf4..94833b541da59cf5e67c2eb4194557b38357c37e 100644
(file)
--- a/
include/ctdb_protocol.h
+++ b/
include/ctdb_protocol.h
@@
-233,7
+233,7
@@
enum ctdb_operation {
};
#define CTDB_MAGIC 0x43544442 /* CTDB */
-#define CTDB_VERSION
1
+#define CTDB_VERSION
2 /* changing to 2 for ctdb_hash change */
enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS = 0,
CTDB_CONTROL_STATISTICS = 1,