[sheepdog] [PATCH] increment the sheep protocol version

Liu Yuan namei.unix at gmail.com
Wed Jan 15 04:00:01 CET 2014


On Tue, Jan 14, 2014 at 04:01:22PM +0900, Hitoshi Mitake wrote:
> 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
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog

Applied thanks

Yuan



More information about the sheepdog mailing list