- Feb 10, 2020
-
-
Cedric CAFFY authored
-
- Dec 06, 2019
-
-
Steven Murray authored
-
Eric Cano authored
A previous commit had spun part of the code into a base library, but the split of the library was not helping. Replaced the cta-lib-base RPM with a cta-lib-common RPM.
-
Cedric CAFFY authored
-
Eric Cano authored
-
Cedric CAFFY authored
Corrected the CatalogueTest::getSchemaVersion() so that the schema version is compared against the CTA_CATALOGUE_SCHEMA_VERSION_MAJOR/MINOR
-
- Dec 05, 2019
-
-
Steven Murray authored
-
Steven Murray authored
-
- Dec 03, 2019
-
-
Steven Murray authored
-
- Dec 02, 2019
-
-
Steven Murray authored
-
Steven Murray authored
-
- Oct 23, 2019
-
-
Cedric CAFFY authored
-
- Oct 18, 2019
-
-
Cedric CAFFY authored
-
Steven Murray authored
Changed catch(std::out_of_range) to catch(std::out_of_range &) in order to avoid the following type of compilation error: ../CTA/common/checksum/ChecksumBlob.hpp:145:18: error: catching polymorphic type ‘class std::out_of_range’ by value [-Werror=catch-value=] } catch(std::out_of_range) { ^~~~~~~~~~~~ cc1plus: all warnings being treated as errors
-
- Oct 08, 2019
-
-
Eric Cano authored
-
- Sep 26, 2019
-
-
Steven Murray authored
-
- Sep 04, 2019
-
-
Cedric CAFFY authored
-
- Aug 23, 2019
-
-
Eric Cano authored
The retrieve request address is now stored in the EOS namespace as an extended attribute and deleted after checks on cancellation. The cleanup of the queues will be eventually done by the tape servers.
-
- Aug 20, 2019
-
-
Cedric CAFFY authored
-
Cedric CAFFY authored
-
- Aug 16, 2019
-
-
Eric Cano authored
-
Eric Cano authored
-
Michael Davis authored
If CHECKSUM_BLOB is NULL, the code will fall back on CHECKSUM_ADLER32.
-
- Aug 02, 2019
-
-
Eric Cano authored
The sleep time (15 minutes) is currently hardcoded, but implemented in a single place (OStoreDB::fetchMountInfo() ).
-
- Jul 26, 2019
-
-
Eric Cano authored
Moved the space reservation information to the DriveStatus object store object instead of a new central registry. The central registry would have been a single point of contention as was the DriveRegistry before being split into DriveStates. As the problem is so close to the one of the drive status, we can actually reuse the drive status for this purpose. The algorithm will also change as we move the responsibility of querying the free space from the disk systems into the OStoreDb object instead of the Scheduler. This leads to a slightly worth layering of responsibilities, making the OStoreDb::RetrieveMount object a client of the disk::DiskSystemFreeSpaceList object. The current implementation will also query the free space from the disk systems on each pop, instead of doing so in a globally cached fashion. With the new model, we could cache the free space per drive (if needed), but not globally. This is not expected to be a real issue and free space is a global counter in the disk system, expected to be readily available.
-
- Jul 19, 2019
-
-
Victor Kotlyar authored
Add standalone command line tool cta-tape-label. Command mount, label, umount the tape pointed by VID option. Tape drive and library parameters used from /etc/cta/TPCONFIG file and catalogue parameters from /etc/cta/cta-catalogue.conf. To be labelled the tape must be present in the catalogue and must be empty. By default the tool labels the tape with enabled logical block protection if drive supports such mode. For non-blank tapes command checks previous tape label and label only if the old label is the same or match to the label in the command line oldLabel option. To skip label checks for non-blank tapes --force option could be used.
-
Steven Murray authored
Moved catalogue/FileSizeMismatch.hpp to common/exception/FileSizeMismatch.hpp because it is so generic
-
Steven Murray authored
-
- Jul 11, 2019
-
-
Cedric CAFFY authored
Replaced the deprecated XrdClientUrlInfo by the XrdCl::URL object that is used for extracting a path of a file from a Xrootd URL
-
- Jul 09, 2019
-
-
Cedric CAFFY authored
Added the ArchiveForRepack mountType to the Drive reporting Transformed the DataTransferSession::mountTypeToString() to add the ArchiveForRepack mountType, transformed the normal "Archive" into "ArchiveForUser"
-
Victor Kotlyar authored
Update cta::Catalogue::tapeMountedForRetrieve and cta::Catalogue::tapeMountedForArchive to increase read/write mount counts.
-
- Jul 05, 2019
-
-
Victor Kotlyar authored
Add isFromCastor field to the catalogue DB. CTA only sets this filed to false and respects it in the getTapesForWriting
-
Michael Davis authored
Sets the ChecksumBlob from the supplied protocol buffer, unless the protobuf is invalid, in which case it uses the supplied Adler32 checksum instead.
-
Michael Davis authored
- Removes assumption that if we have a valid checksumBlob it must contain an ADLER32 checksum. (Some of the unit tests have MD5 checksums only).
-
- Jul 04, 2019
-
-
Michael Davis authored
- Removes assumption that if we have a valid checksumBlob it must contain an ADLER32 checksum. (Some of the unit tests have MD5 checksums only).
-
- Jul 03, 2019
-
-
Eric Cano authored
-
- Jul 02, 2019
-
-
Michael Davis authored
-
Victor Kotlyar authored
Implement catalogue createDiskSystem, getAllDiskSystems, deleteDiskSystem methods.
-
Victor Kotlyar authored
tapes Add read-only tape flag support in the catalogue for the TAPE table. Add RdbmsCatalogue::setTapeReadOnly method to modify this flag with "cta-admin tape ch" command. Add RdbmsCatalogue::setTapeReadOnlyOnError to set this flag from taped. Add support for rdonly flag listing for "cta-admin tape ls" and "cta-admin sq" command.
-
- Jul 01, 2019
-
-
Michael Davis authored
-