Author: jfrederic.clere(a)jboss.com
Date: 2009-01-21 11:29:10 -0500 (Wed, 21 Jan 2009)
New Revision: 2192
Modified:
trunk/mod_cluster/native/mod_manager/mod_manager.c
Log:
Make sure the REMOVED node is removed by the logic.
Modified: trunk/mod_cluster/native/mod_manager/mod_manager.c
===================================================================
--- trunk/mod_cluster/native/mod_manager/mod_manager.c 2009-01-21 15:08:10 UTC (rev 2191)
+++ trunk/mod_cluster/native/mod_manager/mod_manager.c 2009-01-21 16:29:10 UTC (rev 2192)
@@ -755,6 +755,8 @@
if (! is_same_node(node, &nodeinfo)) {
/* Here we can't update it because the old one is still in */
strcpy(node->mess.JVMRoute, "REMOVED");
+ node->mess.remove = 1;
+ insert_update_node(nodestatsmem, node, &id);
*errtype = TYPEMEM;
return MNODERM;
}