From 066621077b81a0ec5edc74a9b083654ff734c773 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Tue, 15 Jun 2010 14:53:50 +0000 Subject: [PATCH] Reverse default behavior for exclusive zombies --- org.glite.lb.server/doc/glite-lb-bkserverd.8 | 4 ++-- org.glite.lb.server/src/bkserverd.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/org.glite.lb.server/doc/glite-lb-bkserverd.8 b/org.glite.lb.server/doc/glite-lb-bkserverd.8 index 5493a6e..af1ce96 100644 --- a/org.glite.lb.server/doc/glite-lb-bkserverd.8 +++ b/org.glite.lb.server/doc/glite-lb-bkserverd.8 @@ -265,8 +265,8 @@ File prefix for events. Enable automatic purging of the jobs in terminal state for proxy service (disabled by default, purging cron job installed by YAIM). .TP -.BI -E\fR,\fP --exclusive-zombies -Check also purged jobs when registering a job with known JobID and the EDG_WLL_LOGLFLAG_EXCL flag set. +.BI -E\fR,\fP --exclusive-zombies-off +Disable checking of purged jobs when registering jobs with the EDG_WLL_LOGLFLAG_EXCL flag set. .\".SH USAGE .\" Add any additional description here diff --git a/org.glite.lb.server/src/bkserverd.c b/org.glite.lb.server/src/bkserverd.c index fda4bf1..878257c 100644 --- a/org.glite.lb.server/src/bkserverd.c +++ b/org.glite.lb.server/src/bkserverd.c @@ -184,7 +184,7 @@ static char * port; static time_t rss_time = 60*60; char * policy_file = NULL; struct _edg_wll_authz_policy authz_policy = { NULL, 0}; -static int exclusive_zombies = 0; +static int exclusive_zombies = 1; @@ -235,7 +235,7 @@ static struct option opts[] = { {"proxy-purge", 0, NULL, 'G'}, {"rss-time", 1, NULL, 'I'}, {"policy", 1, NULL, 'l'}, - {"exclusive-zombies", 0, NULL, 'E'}, + {"exclusive-zombies-off", 0, NULL, 'E'}, {NULL,0,NULL,0} }; @@ -298,7 +298,7 @@ static void usage(char *me) "\t-G,--proxy-purge\t enable automatic purge on proxy service (disabled by default)\n" "\t-I,--rss-time\t age (in seconds) of job states published via RSS\n" "\t-l,--policy\tauthorization policy file\n" - "\t-E,--exclusive-zombies\twith 'exclusive' flag, avoid reusing even zombified JobIDs\n" + "\t-E,--exclusive-zombies-off\twith 'exclusive' flag, allow reusing IDs of purged jobs\n" ,me); } @@ -512,7 +512,7 @@ int main(int argc, char *argv[]) break; case 'l': policy_file = strdup(optarg); break; - case 'E': exclusive_zombies = 1; + case 'E': exclusive_zombies = 0; break; case '?': usage(name); return 1; } -- 1.8.2.3