Don't propagate CollectionState from LB proxy. Fixes bug #30203
authorAleš Křenek <ljocha@ics.muni.cz>
Wed, 23 Apr 2008 11:24:41 +0000 (11:24 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Wed, 23 Apr 2008 11:24:41 +0000 (11:24 +0000)
org.glite.lb.server/src/db_store.c

index d24f0c6..d2fdd6f 100644 (file)
@@ -215,7 +215,8 @@ static int db_actual_store(edg_wll_Context ctx, char *event, edg_wll_Event *ev,
        } else
 #endif
 
-       if (edg_wll_EventSendProxy(ctx, ev->any.jobId, event) )  {
+       if (ev->type != EDG_WLL_EVENT_COLLECTIONSTATE && 
+                       edg_wll_EventSendProxy(ctx, ev->any.jobId, event) )  {
                return edg_wll_SetError(ctx, EDG_WLL_IL_PROTO, "edg_wll_EventSendProxy() error.");
        }