Re: [Pacemaker] [Patch] The log when I lost Quorum is never output.

2012-10-17 Thread Andrew Beekhof
Good catch! On Thu, Oct 18, 2012 at 10:33 AM, wrote: > Hi Andrew, > > Thank you for comments. > > Even your correction is good, but one place of correction is necessary. > > #if SUPPORT_HEARTBEAT > -static gboolean fsa_have_quorum = FALSE; > > gboolean ccm_dispatch(int fd, gpointer user_data)

Re: [Pacemaker] [Patch] The log when I lost Quorum is never output.

2012-10-17 Thread renayama19661014
Hi Andrew, Thank you for comments. Even your correction is good, but one place of correction is necessary. #if SUPPORT_HEARTBEAT -static gboolean fsa_have_quorum = FALSE; gboolean ccm_dispatch(int fd, gpointer user_data) { @@ -575,14 +574,14 @@ if(update_quorum) { crm_

Re: [Pacemaker] [Patch] The log when I lost Quorum is never output.

2012-10-17 Thread Andrew Beekhof
What about this instead? diff --git a/crmd/heartbeat.c b/crmd/heartbeat.c index cae143b..3a7f31d 100644 --- a/crmd/heartbeat.c +++ b/crmd/heartbeat.c @@ -354,14 +354,13 @@ crmd_ccm_msg_callback(oc_ed_t event, void *cookie, size_t size, const void *data if (update_quorum) { crm_have_

[Pacemaker] [Patch] The log when I lost Quorum is never output.

2012-10-17 Thread renayama19661014
Hi All, I watched a source of crmd of ClusterLabs-pacemaker-1.0-Pacemaker-1.0.12-116-gf372204.zip. I found the log("Quorum lost: ") processing that was never output. The cause that log is not output is fsa_have_quorum. This value is always FALSE. (snip) * crmd/callback.c #if SUPPORT_HEARTBE