- Oct 11, 2017
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
Fixed in the trunk.
-
Steven Murray authored
Added the following two serrno entries: ETINVALIDTFSEQ (1939) Invalid tape-file sequence-number ETINVALIDTFSIZE (1940) Invalid tape-file file-size
-
Steven Murray authored
Added the new serrno number "ETSESSIONERROR (1938) Tape session error".
-
Giuseppe Lo Presti authored
Reverted commit r25014
-
Giuseppe Lo Presti authored
castor.localhosts and castor.remhosts files.
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
so that it's there in all cases. Dropped sysconfig for security as already not supported/obsoleted.
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
Cleanup some more defects and especially got rid of lot of useless code around network releated functions
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
several small fixes for defects identified by Coverity. Mainly around uncaught exceptions and secure coding
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
-
Sebastien Ponce authored
many fixes of little issues found by the cppcheck tool. In particular, a few memory leak were discovered.
-
Steven Murray authored
Added new tape errors to serrno manual page.
-
Steven Murray authored
In order to improve logging for tape-operations and to facilitate the current testing surrounding this bug, the serrno code of ENOMEM has been replaced by the more specific error ETNOLBLINFOMEM meaning "No memory available for label information" within the setlabelinfo function.
-
Steven Murray authored
Fix which requires testing.
-
Sebastien Ponce authored
- svcClass was dropped from the MigrationRouting table as unused. Tools have been amended accordingly. - MigrationJob has now an originalCopyNb and originalVID in case of repack migrations that allow to identify repacks properly - a table MigratedSegment has been added holding information on other existing tape segments for the migrating files. This allows to avoid putting 2 copies on a file on the same tape - in general, migrations that can be triggered at recall time (extra copy and repacks) are populated in MigrationJob table from the beginning, in status MIGRATIONJOB_WAITONRECALL. This allows easy triggering of the migrations after the recall and to identify any problematic migration routing before we even recall.
-
Sebastien Ponce authored
The main gains are : - simpler DB schema : StreamToTapeCopy and SvcClass2TapePool have disappeared. TapeCopy is split in to the dedicated RecallJob and MigrationJob. Stream is replaced by MigrationMount that includes all data needed from the Tape table (so the Tape table only used by recall now). - simpler concepts : MigrationMounts match with mounts and do not survive them (as Stream did), MigrationRouting table explicitely gives the migration routing. NbDrives has moved to the TapePool - less components : migHunter is gone, replaced by the MigrationRouting table and by a DB job that starts the needed mounts - better error reporting : migration failures due to bad configuration are reported sunchronously to the user, on file close or even on file opening when possible. e.g. if the combination of svcClass and fileClass given by the the user is not present in the MigrationRouting table, the file opening will fail with message "File recreation canceled since the file cannot be routed to tape". This case used to loop forever in the migration part. Conflicts: castor/db/oracleCommon.sql castor/db/oracleSchema.sql castor/db/oracleTapeGateway.sql castor/tape/tapegateway/daemon/TapeStreamLinkerThread.cpp castor/tape/tapegateway/daemon/VmgrTapeGatewayHelper.cpp castor/tape/tapegateway/daemon/VmgrTapeGatewayHelper.hpp castor/tape/tapegateway/daemon/ora/OraTapeGatewaySvc.cpp castor/tape/tapegateway/daemon/ora/OraTapeGatewaySvc.hpp codeGeneration/RH.xmi Conflicts: castor/db/oracleCommon.sql
-
Sebastien Ponce authored
The version is MUCH lighter than the previous one and consists only in a small python script talking to the stager DB. In particular the repack DB and repack daemon are gone. The handling of repack at the stager level has also be greatly improved, using bulk APIs and a direct access to the nameserver DB via DB link. The will make the repacking of tapes with > 1M files possible.
-
Steven Murray authored
Merged v2_1_11Version-TapeBulkProtocols branch into trunk.
-
Steven Murray authored
-
Steven Murray authored
-
Sebastien Ponce authored
-
Steven Murray authored
Removed probagation of serrno as this appears to be againt CASTOR coding conventions (stop the sarcasm).
-
Steven Murray authored
-
Steven Murray authored
Fixed bug in s_recv function where it was not probagating the value of errno to serrno.
-
Steven Murray authored
Merged branches/bridge_bug_80217 into the trunk.
-
Steven Murray authored
I have replaced C++ comments in C code with C code comments. I have moved/changed variable declarations to not bream the ISO C90 rule against mixed declarations and code.
-
Sebastien Ponce authored
-