[Sheepdog] [PATCH] only the joined and left nodes have reason
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Thu Sep 29 20:01:25 CEST 2011
At Thu, 29 Sep 2011 14:34:49 +0800,
andychenzy at gmail.com wrote:
>
> From: Andy chen <andychenzy at gmail.com>
>
>
> Signed-off-by: Andy chen <andychenzy at gmail.com>
> ---
> sheep/group.c | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
Applied, thanks!
Kazutaka
>
> diff --git a/sheep/group.c b/sheep/group.c
> index 00330d1..2e0aed2 100644
> --- a/sheep/group.c
> +++ b/sheep/group.c
> @@ -1866,9 +1866,8 @@ static void sd_confchg(cpg_handle_t handle, const struct cpg_name *group_name,
> dprintf("%zd %zd %zd\n", member_list_entries, left_list_entries,
> joined_list_entries);
> for (i = 0; i < member_list_entries; i++) {
> - dprintf("[%x] node_id: %x, pid: %d, reason: %d\n", i,
> - member_list[i].nodeid, member_list[i].pid,
> - member_list[i].reason);
> + dprintf("[%x] node_id: %x, pid: %d\n", i,
> + member_list[i].nodeid, member_list[i].pid);
> }
>
> if (sys->status == SD_STATUS_SHUTDOWN)
> --
> 1.7.6.2
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
More information about the sheepdog
mailing list