Commit a603361b authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti

Preparing release 2.1.17-36

parent a913dfbb
Pipeline #511917 passed with stages
in 11 minutes 38 seconds
-------------
- 2.1.17-36 -
-------------
Summary
-------
This is a minor release bringing some bug fixes and enhancements.
Protocols
---------
CASTOR-5521: Xrootd errors: 'RunningTransfer' object has no attribute 'transferId'
Upgrade Instructions from 2.1.17-30 or 2.1.17-35
------------------------------------------------
Stager and SRM
--------------
The upgrade of the stager and SRM services to 2.1.17-36 can be performed online
while the system is running.
1. Apply the appropriate upgrade script for the Stager database from:
- https://cern.ch/castorfuture/releases/2.1.17/2.1.17-36/dbupgrades
2. Upgrade the software on the head nodes.
All daemons involved in the upgrade will be restarted automatically.
3. Upgrade the software on the diskservers.
All daemons involved in the upgrade will be restarted automatically.
4. Test the instance by running the test suite available from:
- https://cern.ch/castorfuture/releases/2.1.17/2.1.17-36/testsuite.tar.gz
5. Upgrade complete.
Central services (CUPV, VMGR, VDQM, Nameserver)
-----------------------------------------------
The upgrade of the central services to 2.1.17-36 can be performed online
while the system is running.
1. Update the software on the concerned nodes.
All daemons involved in the upgrade will be restarted automatically.
2. No SQL upgrade scripts need to be applied for this release. Upgrade complete.
-------------
- 2.1.17-35 -
-------------
......
......@@ -246,7 +246,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......@@ -6907,8 +6907,8 @@ BEGIN
-- similarly to stageRm, check that the deletion is allowed:
-- basically only files on tape may be dropped in case no data loss is provoked,
-- or files already dropped from the namespace. The rest is forbidden.
IF (varStatus IN (dconst.DISKCOPY_VALID, dconst.DISKCOPY_FAILED) AND (varNbRemaining > 0 OR dc.fStatus = 'm' OR varFileSize = 0))
OR dc.fStatus = 'd' THEN
IF (varStatus IN (dconst.DISKCOPY_VALID, dconst.DISKCOPY_FAILED) AND varNbRemaining > 0)
OR dc.fStatus in ('m', 'd') OR varFileSize = 0 THEN
UPDATE DeleteDiskCopyHelper
SET rc = dconst.DELDC_NOOP,
msg = 'garbage collected from stager'
......@@ -6998,8 +6998,8 @@ BEGIN
raise_application_error(-20100, 'no filesystem found for ' || inArgs(i) || ', giving up. Note that machine names must be fully qualified.');
END;
-- select the disk copies to be deleted
INSERT INTO DeleteDiskCopyHelper (dcId, fileId, fStatus, msg, rc)
SELECT DiskCopy.id, CastorFile.fileid, 'd', '', -1
INSERT INTO DeleteDiskCopyHelper (dcId, fileId, fStatus, rc)
SELECT DiskCopy.id, CastorFile.fileid, 'd', -1
FROM DiskCopy, CastorFile
WHERE DiskCopy.castorFile = CastorFile.id
AND DiskCopy.fileSystem = varFsId;
......
......@@ -106,7 +106,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......
......@@ -56,7 +56,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......
castor (2.1.17-36) unstable; urgency=low
* Fifth 2.1.17 production release
-- Giuseppe Lo Presti <giuseppe.lopresti@cern.ch> Fri 14 Sep 2018 16:00:00 +0200
castor (2.1.17-35) unstable; urgency=low
* Fourth 2.1.17 production release
......
......@@ -169,7 +169,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......
This diff is collapsed.
......@@ -49,7 +49,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......
......@@ -120,7 +120,7 @@ ALTER TABLE UpgradeLog
CHECK (type IN ('TRANSPARENT', 'NON TRANSPARENT'));
/* SQL statement to populate the intial release value */
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_30');
INSERT INTO UpgradeLog (schemaVersion, release) VALUES ('-', '2_1_17_36');
/* SQL statement to create the CastorVersion view */
CREATE OR REPLACE VIEW CastorVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment