zombies in separate table
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 10 Apr 2008 11:46:04 +0000 (11:46 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 10 Apr 2008 11:46:04 +0000 (11:46 +0000)
- proposal only

org.glite.lb.server/config/glite-lb-dbsetup.sql

index 5fe8f99..50d8083 100644 (file)
@@ -6,7 +6,6 @@ create table jobs (
        proxy           bool            not null,
        server          bool            not null,
        grey            bool            not null,
-       zombie          bool            not null,
        nevents         int             not null,
 
        primary key (jobid),
@@ -132,3 +131,20 @@ create table notif_jobs (
        primary key (notifid,jobid),
        index (jobid)
 ) engine=innodb;
+
+create table zombie_jobs (
+       binary_jobid    binary(16)      not null,
+       prefix_id       binary(1)       not null,
+
+       primary key (binary_jobid),
+       index (binary_jobid)
+) engine=innodb;
+
+create table zombie_prefixes (
+       prefix_id       binary(1)       not null,
+       prefix          varchar(255)    binary not null,
+
+       primary key (prefix_id),
+) engine=innodb;
+
+