Re: [Linux-ha-dev] fixed some bugs in hbagent

2008-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 19, 2008 at 02:03:55PM +0900, Satomi Taniguchi wrote: Hi, I fixed some bugs in hbagent. This patch is for Heartbeat2.1stable-dev(0e53afc9c19f) and PacemakerPythonGUI-dev(93555986c6c2). The patch's roles are: 1) modify arguments of decode_transition_magic() according to

Re: [Linux-ha-dev] ha_logger.c, why log_prio limited only to LOG_INFO and LOG_DEBUG ?

2008-06-19 Thread Dejan Muhamedagic
On Wed, Jun 18, 2008 at 06:41:11AM -0700, Joe Bill wrote: if (strcmp(logtype, ha-log) == 0){ priority = LOG_INFO; } else if (strcmp(logtype, ha-debug) == 0){ priority = LOG_DEBUG; }else{ goto err_exit; } Can anybody give the reason why ha_logger.c limits

Re: [Linux-ha-dev] HA logging daemon, syslog ha.cf ha_logd.cf in Linux-HA documentation

2008-06-19 Thread Dejan Muhamedagic
On Wed, Jun 18, 2008 at 09:12:59AM -0700, Joe Bill wrote: The online Linux-HA documentation regarding HA logging appears confusing and misleading to me on several occasions, noticeably caused by describing the HA logging broker (http://www.linux-ha.org/GettingStartedV2) as some syslog-like

Re: [Linux-ha-dev] sfex

2008-06-19 Thread Xinwei Hu
2008/6/19 Keisuke MORI [EMAIL PROTECTED]: Hi, Xinwei Hu [EMAIL PROTECTED] writes: I'm the one who opposed sfex in the previous discussion. My point was simple that: check-and-reserve on disk is not an atomic CAS operation. and lock based on that may silently cause data corruption.

Re: [Linux-ha-dev] sfex

2008-06-19 Thread Dejan Muhamedagic
Hi, On Thu, Jun 19, 2008 at 09:26:13PM +0800, Xinwei Hu wrote: 2008/6/19 Keisuke MORI [EMAIL PROTECTED]: Hi, Xinwei Hu [EMAIL PROTECTED] writes: I'm the one who opposed sfex in the previous discussion. My point was simple that: check-and-reserve on disk is not an atomic CAS

Re: [Linux-ha-dev] sfex

2008-06-19 Thread Xinwei Hu
2008/6/19 Dejan Muhamedagic [EMAIL PROTECTED]: Hi, On Thu, Jun 19, 2008 at 09:26:13PM +0800, Xinwei Hu wrote: 2008/6/19 Keisuke MORI [EMAIL PROTECTED]: Hi, Xinwei Hu [EMAIL PROTECTED] writes: I'm the one who opposed sfex in the previous discussion. My point was simple that:

Re: [Linux-ha-dev] What best name for the Heartbeat v2 log daemon ?

2008-06-19 Thread Joe Bill
--- On Thu, 6/19/08, Dejan Muhamedagic [EMAIL PROTECTED] wrote: From: Dejan Muhamedagic [EMAIL PROTECTED] Aren't both HA logging daemon and Heartbeat logging deamon different enough from system logging daemon or syslog? As a logging daemon, I would expect that component to replace syslogd.

Re: [Linux-ha-dev] sfex

2008-06-19 Thread Lars Marowsky-Bree
On 2008-06-19T22:52:55, Xinwei Hu [EMAIL PROTECTED] wrote: True. It is possible to break sfex, but the probability that that is going to happen is extremely low and could be due only to a very pathological timing. One way to make this probability still From my previous experience, I

Re: [Linux-ha-dev] sfex

2008-06-19 Thread Xinwei Hu
2008/6/20 Lars Marowsky-Bree [EMAIL PROTECTED]: On 2008-06-19T22:52:55, Xinwei Hu [EMAIL PROTECTED] wrote: True. It is possible to break sfex, but the probability that that is going to happen is extremely low and could be due only to a very pathological timing. One way to make this