From: Jan Pospíšil Date: Fri, 25 Nov 2005 13:06:36 +0000 (+0000) Subject: lbproxy forwards now all messages to bkserver, even all registration events X-Git-Tag: after_merge_from_branch_1_1_0_RC15~18 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=52d7687b90eb07648d0d767936a4d012627d517f;p=jra1mw.git lbproxy forwards now all messages to bkserver, even all registration events --- 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!