Author: jfrederic.clere(a)jboss.com
Date: 2008-10-23 09:30:41 -0400 (Thu, 23 Oct 2008)
New Revision: 1993
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Skip node if we can't read the information in slotmem.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-10-23 13:18:58 UTC
(rev 1992)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-10-23 13:30:41 UTC
(rev 1993)
@@ -354,7 +354,8 @@
/* Only process the nodes that have been updated since our last update */
for (i=0; i<size; i++) {
nodeinfo_t *ou;
- node_storage->read_node(id[i], &ou);
+ if (node_storage->read_node(id[i], &ou) != APR_SUCCESS)
+ continue;
if (ou->updatetime >= last) {
/* The node has changed */
if (ou->mess.remove)
Show replies by date