From: Aleš Křenek Date: Mon, 28 Nov 2005 10:41:24 +0000 (+0000) Subject: propagate all regjob events from proxy to server X-Git-Tag: glite-lb-server_R_1_3_1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=4eb518b241272c9fd59b62e1b1c7e97750210ed6;p=jra1mw.git propagate all regjob events from proxy to server --- diff --git a/org.glite.lb.server/src/db_store.c b/org.glite.lb.server/src/db_store.c index b0d3635..fc61e47 100644 --- a/org.glite.lb.server/src/db_store.c +++ b/org.glite.lb.server/src/db_store.c @@ -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!