cluster/group/daemon app.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-07-14 20:45:28
Modified files:
group/daemon : app.c
Log message:
node A may get a start cb and send a started message, and node B may receive the started message before it gets its own start cb; node B shouldn't ignore the started message from A.
group/daemon/app.c +2 -4
@@ -1079,11 +1079,9 @@ {node_t *node; -if (!event_state_starting (a)) { -log_error (a->g,"mark_node_started: event not starting %d " +if (!event_state_starting (a)) +log_debug (a->g,"mark_node_started: event not starting %d " "from %d" , a->current_event->state, nodeid); -return -1 ; - } node =find_app_node (a, nodeid);if (!node) {
Quoted 6 lines · teigland at sourceware.org
group/daemon/app.c line 1086
Quoted 10 lines
group/daemon/app.c +2
-4@@ -1079,11 +1079,9 @@ {node_t *node; -if (!event_state_starting (a)) { -log_error (a->g,"mark_node_started: event not starting %d " +if (!event_state_starting (a)) +log_debug (a->g,"mark_node_started: event not starting %d " "from %d" , a->current_event->state, nodeid); -return -1 ; - }
Hi,
This commit fails to build. I am not sure if you want log_debug or log_error there, but in case of log_debug it's enough to remove "a->g,".
Thanks
Fabio
Signature · 1 line
I'm going to make him an offer he can't refuse.
I've checked-in a fix. I hit this problem this morning as well.
Thanks.
Ryan
Quoted 27 lines · Fabio Massimo Di Nitto
Quoted 6 lines · teigland at sourceware.org
group/daemon/app.c line 1086
Quoted 10 lines
group/daemon/app.c +2
-4@@ -1079,11 +1079,9 @@ {node_t *node; -if (!event_state_starting (a)) { -log_error (a->g,"mark_node_started: event not starting %d " +if (!event_state_starting (a)) +log_debug (a->g,"mark_node_started: event not starting %d " "from %d" , a->current_event->state, nodeid); -return -1 ; - }Hi,
This commit fails to build. I am not sure if you want
log_debugorlog_errorthere, but in case oflog_debugit's enough to remove "a->g,".Thanks
Fabio