Author: jfrederic.clere(a)jboss.com
Date: 2008-12-04 05:51:58 -0500 (Thu, 04 Dec 2008)
New Revision: 2093
Modified:
trunk/mod_cluster/native/mod_manager/mod_manager.c
Log:
If the neo doesn't stop correctly and gets restarted and is different than we must
remove it.
Modified: trunk/mod_cluster/native/mod_manager/mod_manager.c
===================================================================
--- trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-12-03 17:27:59 UTC (rev 2092)
+++ trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-12-04 10:51:58 UTC (rev 2093)
@@ -692,8 +692,8 @@
/* check for removed node */
node = read_node(nodestatsmem, &nodeinfo);
- if (node != NULL && node->mess.remove) {
- /* If the node is removed and recreated unchanged that is ok: network problems
*/
+ if (node != NULL) {
+ /* If the node is removed (or kill and restarted) and recreated unchanged that is
ok: network problems */
if (! is_same_node(node, &nodeinfo)) {
/* Here we can't update it because the old one is still in */
strcpy(node->mess.JVMRoute, "REMOVED");
Show replies by date