diff --git a/00-tables.sql b/00-tables.sql index f7b9820b8d5c7f28a35863db8712cf36c0e6a55d..0c20a829efc866a56adf42d02e7d6083b7e3edbd 100644 --- a/00-tables.sql +++ b/00-tables.sql @@ -42,19 +42,19 @@ CREATE TABLE node ( tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_id SMALLINT default NULL, - format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format - async_trans BOOLEAN default false, + format VARCHAR default NULL, -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously + async_trans BOOLEAN default false, sticky BOOLEAN default false, + -- id of the blocking job running on the node (used to compute busy state) job_id VARCHAR default NULL, - -- job_id will likely replace 'busy_state' creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, - quota BIGINT default NULL, -- total container quota (in bytes) + quota BIGINT default NULL, content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL, @@ -80,18 +80,18 @@ CREATE TABLE deleted_node ( tstamp_wrapper_dir VARCHAR default NULL, type NodeType NOT NULL, location_id SMALLINT default NULL, - format VARCHAR default NULL, -- format is used to distinguish between unstuctured (format=NULL) and structured nodes having a well defined format - async_trans BOOLEAN default NULL, + format VARCHAR default NULL, -- async_trans tells us whether a node is hosted on a cold storage and has to be transferred asynchronously + async_trans BOOLEAN default NULL, sticky BOOLEAN default false, job_id VARCHAR default NULL, creator_id VARCHAR default NULL, group_read VARCHAR[] default NULL, group_write VARCHAR[] default NULL, is_public BOOLEAN default NULL, - quota BIGINT default NULL, -- total container quota (in bytes) + quota BIGINT default NULL, content_type VARCHAR default NULL, content_encoding VARCHAR default NULL, content_length BIGINT default NULL,