register job to JP when it became known for JP (even grey job) and not any more
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 22 May 2008 16:02:24 +0000 (16:02 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 22 May 2008 16:02:24 +0000 (16:02 +0000)
- avoid double registrations

org.glite.lb.server/src/store.c.T

index f1891c0..7b11473 100644 (file)
@@ -332,8 +332,6 @@ int store_job_server_proxy(edg_wll_Context ctx, edg_wll_Event *event, int *regis
                        if (store_job(ctx,(glite_jobid_const_t) event->any.jobId,
                                userid, (ctx->isProxy || !strcmp(res[0],"1")), 
                                !strcmp(res[1],"1") || (local_job ? ctx->serverRunning : 0), 0, 1)) goto err;
-                       *register_to_JP = REG_JOB_TO_JP;
-                               
                }
                else {
                        /* check possible server vs. proxy registration ownership clash */