[sheepdog] [PATCH] increment the sheep protocol version

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Jan 14 08:01:22 CET 2014


Because of the changing struct sd_node layout, dog of v0.7.x cannot
communicate with the latest sheep. This patch forbid the mismatch
communication by incrementing SD_SHEEP_PROTO_VER.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 include/internal_proto.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal_proto.h b/include/internal_proto.h
index 2a2a785..ceb8f84 100644
--- a/include/internal_proto.h
+++ b/include/internal_proto.h
@@ -24,7 +24,7 @@
 #include "rbtree.h"
 #include "fec.h"
 
-#define SD_SHEEP_PROTO_VER 0x08
+#define SD_SHEEP_PROTO_VER 0x09
 
 #define SD_DEFAULT_COPIES 3
 /*
-- 
1.7.10.4




More information about the sheepdog mailing list