Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn setup
Commits
2c4707f3
Commit
2c4707f3
authored
Apr 22, 2022
by
Maria-Elena Mihailescu
Committed by
Costin Grigoras
Apr 22, 2022
Browse files
[mySQL] Add missing fields for processes.SITEQUEUES
parent
8d0ee7e9
Pipeline
#3879949
failed with stage
in 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bash-setup/templates/sql/createCatalogue.txt
View file @
2c4707f3
...
...
@@ -154,3 +154,30 @@ DROP TABLE IF EXISTS `HOSTS`;
CREATE TABLE `HOSTS` ( `hostIndex` int(11) NOT NULL AUTO_INCREMENT, `address` char(50) COLLATE latin1_general_cs, `db` char(40) COLLATE latin1_general_cs,
`driver` char(10) COLLATE latin1_general_cs, `organisation` char(40) COLLATE latin1_general_cs, PRIMARY KEY (`hostIndex`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_general_cs;
DROP TABLE IF EXISTS `orphan_pfns`;
CREATE TABLE `orphan_pfns` ( `guid` binary(16) DEFAULT NULL,
`se` int(11) DEFAULT NULL,
`fail_count` int(11) DEFAULT '0',
`md5sum` char(32) DEFAULT NULL,
`size` bigint(20) DEFAULT NULL,
`pfn` varchar(1024) DEFAULT NULL,
`flags` int(11) DEFAULT NULL,
UNIQUE KEY `orphan_pfns_uids` (`guid`,`se`),
KEY `orphan_pfns_se` (`se`,`fail_count`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `orphan_pfns_0`;
CREATE TABLE `orphan_pfns_0` (
`guid` binary(16) DEFAULT NULL,
`se` int(11) DEFAULT NULL,
`fail_count` int(11) DEFAULT '0',
`md5sum` char(32) DEFAULT NULL,
`size` bigint(20) DEFAULT NULL,
`pfn` varchar(1024) DEFAULT NULL,
`flags` int(11) DEFAULT NULL,
UNIQUE KEY `orphan_pfns_uids` (`guid`),
KEY `orphan_pfns_size_fail_count_idx` (`fail_count`,`size`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
bash-setup/templates/sql/processes.txt
View file @
2c4707f3
...
...
@@ -605,6 +605,9 @@ CREATE TABLE `SITEQUEUES` (
`maxrunning` int NOT NULL DEFAULT '0',
`SAVING` int NOT NULL DEFAULT '0',
`STAGING` int NOT NULL DEFAULT '0',
`lastRejectionTime` bigint DEFAULT NULL,
`lastRejectionReason` varchar(255) COLLATE latin1_general_cs NOT NULL DEFAULT 'Full match',
`ERROR_W` int NOT NULL DEFAULT '0',
PRIMARY KEY (`siteId`),
UNIQUE KEY `site` (`site`)
) ENGINE=InnoDB AUTO_INCREMENT=303 DEFAULT CHARSET=latin1 COLLATE=latin1_general_cs;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment