[sheepdog] [PATCH v2] cluster/zookeeper: add log information for zk auto-recoonect

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Aug 21 03:13:52 CEST 2014


At Wed, 20 Aug 2014 18:04:39 +0800,
Liu Yuan wrote:
> 
> Reported-by: Valerio Pachera <sirio81 at gmail.com>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  sheep/group.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.
Hitoshi

> 
> diff --git a/sheep/group.c b/sheep/group.c
> index 1bb22cc..14c106a 100644
> --- a/sheep/group.c
> +++ b/sheep/group.c
> @@ -988,7 +988,7 @@ static int send_join_request(void)
>  {
>  	struct sd_node *n = &sys->this_node;
>  
> -	sd_info("%s", node_to_str(n));
> +	sd_info("%s going to join the cluster", node_to_str(n));
>  	return sys->cdrv->join(n, &sys->cinfo, sizeof(sys->cinfo));
>  }
>  
> -- 
> 1.9.1
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list