propagate all regjob events from proxy to server glite-lb-server_R_1_3_1
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 28 Nov 2005 10:41:24 +0000 (10:41 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 28 Nov 2005 10:41:24 +0000 (10:41 +0000)
org.glite.lb.server/src/db_store.c

index b0d3635..fc61e47 100644 (file)
@@ -74,8 +74,13 @@ db_store(edg_wll_Context ctx,char *ucs, char *event)
        /*
         *      send event to the proper BK server
         */
-       if (   ev->any.type != EDG_WLL_EVENT_REGJOB
-               && edg_wll_EventSendProxy(ctx, ev->any.jobId, event) ) goto err;
+       /* XXX: RegJob events, which were logged also directly, are duplicated at server,
+               but it should not harm */
+
+       if (edg_wll_EventSendProxy(ctx, ev->any.jobId, event) )  {
+               edg_wll_SetError(ctx, EDG_WLL_IL_PROTO, "edg_wll_EventSendProxy() error.");
+               goto err;
+       }
 
        /* LB proxy purge
         * XXX: Set propper set of states!