On 28 May 2014, at 3:04 pm, renayama19661...@ybb.ne.jp wrote:
Hi Andrew,
I'd expect that block to hit this clause though:
} else if(mainloop_timer_running(a-timer)) {
crm_info(Write out of '%s' delayed: timer is running, a-id);
return;
Which point of the source
On 28 May 2014, at 4:10 pm, Andrew Beekhof and...@beekhof.net wrote:
On 28 May 2014, at 3:04 pm, renayama19661...@ybb.ne.jp wrote:
Hi Andrew,
I'd expect that block to hit this clause though:
} else if(mainloop_timer_running(a-timer)) {
crm_info(Write out of '%s' delayed:
Hi Andrew,
Perhaps try:
diff --git a/attrd/commands.c b/attrd/commands.c
index 7f1b4b0..7342e23 100644
--- a/attrd/commands.c
+++ b/attrd/commands.c
@@ -464,6 +464,15 @@ attrd_peer_update(crm_node_t *peer, xmlNode *xml, bool
filter)
a-changed |= changed;
+ if(changed) {
On 28 May 2014, at 4:36 pm, renayama19661...@ybb.ne.jp wrote:
Hi Andrew,
Perhaps try:
diff --git a/attrd/commands.c b/attrd/commands.c
index 7f1b4b0..7342e23 100644
--- a/attrd/commands.c
+++ b/attrd/commands.c
@@ -464,6 +464,15 @@ attrd_peer_update(crm_node_t *peer, xmlNode *xml,
Hi Andrew,
I confirmed movement at once.
Your patch solves a problem.
Many Thanks!
Hideo Yamauchi.
--- On Wed, 2014/5/28, renayama19661...@ybb.ne.jp renayama19661...@ybb.ne.jp
wrote:
Hi Andrew,
Perhaps try:
diff --git a/attrd/commands.c b/attrd/commands.c
index 7f1b4b0..7342e23
On 27 May 2014, at 12:13 pm, renayama19661...@ybb.ne.jp wrote:
Hi All,
The attrd_updater command ignores the dampen parameter and updates an
attribute.
Step1) Start one node.
[root@srv01 ~]# crm_mon -1 -Af
Last updated: Tue May 27 19:36:35 2014
Last change: Tue May 27 19:34:59 2014
Hi Andrew,
Thank you for comment.
--- attrd/command.c -
(snip)
/* this only involves cluster nodes. */
if(v-nodeid == 0 (v-is_remote == FALSE)) {
if(crm_element_value_int(xml, F_ATTRD_HOST_ID, (int*)v-nodeid) ==
0) {
/* Create the name/id association */
Hi Andrew,
I'd expect that block to hit this clause though:
} else if(mainloop_timer_running(a-timer)) {
crm_info(Write out of '%s' delayed: timer is running, a-id);
return;
Which point of the source code does the suggested code mentioned above revise?
(Which