- 22 Aug, 2008 7 commits
-
-
Steven Murray authored
of ::dlf_init() to the exception thrown by: castor::dlf::dlf_init(const char* facilityName, castor::dlf::Message messages[]) A nice explanatory message was being consructed when the facility name exceeded 21 characters in length, but the message was not added to the exception, so I only got a "Unable to initialize DLF" with no further explanation when I tried to initialise DLF with a crazy long name.
-
Steven Murray authored
castor::server::BaseServer::dlfInit(castor::dlf::Message messages[]) by adding: throw (castor::exception::Exception) The implementation of this method calls the following method without a try and catch clause around it: castor::dlf::dlf_init(const char* facilityName, Message messages[]) This method can throw a castor::exception::Exception.
-
Steven Murray authored
The -h option just displays the usage message without giving an unknown option error. The -c option allows the user to overide the default location of the castor configuration file. This is useful when one wants to run a locally compiled version of a daemon on a host with an rpm installation of the same daemon. One needs to make a castor configuration file with the locations of the locally built dynamic shared libraries and then use the -c option to point to it.
-
Steven Murray authored
and CPPFLAGS. By default the DEBUG macro is uncommented.
-
Victor Kotlyar authored
for disk to disk transfer we will fill file extended attributes with the information from Castor Name Server database both RFIOD USE_CKSUM and CNS USE_CKSUM should be YES to use this
-
Victor Kotlyar authored
int Cns_statcs (const char *path, struct Cns_fileid *file_uniqueid, struct Cns_filestatcs *statbuf)
-
Arne Wiebalck authored
place). Controlled by new parameter (POSITION_TIMEOUT). Default value is 900 seconds.
-
- 21 Aug, 2008 4 commits
-
-
Rosa Maria Garcia Rioja authored
-
Rosa Maria Garcia Rioja authored
-
Arne Wiebalck authored
-
Rosa Maria Garcia Rioja authored
-
- 20 Aug, 2008 2 commits
-
-
Victor Kotlyar authored
Added checking for checksums in Cns_setsegattr. If we have filled fields in Cns_file_metadata (csumtype,csumvalue) and we have one segment for a file, than before insert\update this segment we will compare the ckecksums and return EINVAL in error case
-
Andreas Joachim Peters authored
known to the stager
-
- 18 Aug, 2008 4 commits
-
-
Dennis Waldron authored
-
Dennis Waldron authored
Replaced the selectPhysicalFileName method by getBestDiskCopyToRead. This fixes the incorrect IOResponse being sent back to xrootd in StagePrepareToGetRequests
-
Dennis Waldron authored
-
Dennis Waldron authored
-
- 15 Aug, 2008 6 commits
-
-
Steven Murray authored
-
Steven Murray authored
tape aggregator daemon.
-
Rosa Maria Garcia Rioja authored
-
Steven Murray authored
config/site.def. We do not want any possibility of the icontents of castor/tape being built. castor/tape will eventaully contain sub-directories for the "tape gateway" and "tape aggregator" applications.
-
Steven Murray authored
cmmand-line too so that the code can be easily used in another project directory.
-
Steven Murray authored
it without any command-line arguments. Added the following line to the two generated files VdqmDlfMessageConstants.hpp and VdqmDlfMessageStrings.cpp: /* This file was generated by ./VdqmDlfMessagesCodeGenerator on Fri Aug 15 10:15:46 CEST 2008 */
-
- 14 Aug, 2008 10 commits
-
-
Steven Murray authored
generated by the command-line tool: VdqmDlfMessagesCodeGenerator For example: ./VdqmDlfMessagesCodeGenerator constants > VdqmDlfMessageConstants.hpp ./VdqmDlfMessagesCodeGenerator strings > VdqmDlfMessageStrings.cpp
-
Steven Murray authored
file VdqmDlfMessageStrings.cpp. This stops them from cluttering up VdqmServer.cpp. It also opens up the opportunity for the command-line tool VdqmDlfMessagesCodeGenerator to be modified to generate the whole source file for the message strings as it already does for the constants: VdqmDlfMessageConstants.hpp
-
Victor Kotlyar authored
-
Steven Murray authored
VdqmDlfMessagesCodeGenerator. One needs to type: ./VdqmDlfMessagesCodeGenerator enum > VdqmDlfMessageConstants.hpp
-
Victor Kotlyar authored
-
Victor Kotlyar authored
merged prepareForMigration and prepareForMigrationcs inside C++ part of stager. For stager we have to use CNS USE_CKSUM YES if we want to fill checksum in castor name server. For C api we still have two functions Cstager_IJobSvc_prepareForMigrationcs and Cstager_IJobSvc_prepareForMigration
-
Victor Kotlyar authored
For stager we have to use CNS USE_CKSUM YES if we want to fill checksum in castor name server. For C api we still have two functions Cstager_IJobSvc_prepareForMigrationcs and Cstager_IJobSvc_prepareForMigration
-
Steven Murray authored
* Command-line errors are now logged to DLF as well as displayed on the console via stderr * An uncaught exception is no longer thrown if the program could not instantiate the database parameters service * Errors when initialising the database service are now logged to DLF as well as displayed on the console via stderr
-
Giulia Taurelli authored
-
Rosa Maria Garcia Rioja authored
-
- 13 Aug, 2008 2 commits
-
-
Steven Murray authored
that they explain the command lists all priorities by default.
-
Arne Wiebalck authored
-
- 12 Aug, 2008 5 commits
-
-
Rosa Maria Garcia Rioja authored
-
Steven Murray authored
message if the ORAVDQMCONFIG file does not exist.
-
Victor Kotlyar authored
added call for Cstager_IJobCvs_prepareForMigrationcs inside rfiod, if we have "CNS USE_CKSUM YES" in castor.conf on diskserver.
-
Victor Kotlyar authored
added prepareForMigrationcs method it is the same as prepareForMigration but has two additional fileds: csumtype, csumvalue in the end it calls Cns_setfsizecs instead of Cns_setfsize. C function to use it is Cstager_IJobSvc_prepareForMigrationcs and it should be called inside mover (rfiod, xrootd) or stagerJob (gridftpd, rootd) if the mover wants to put checksums to castor name server database
-
Giuseppe Lo Presti authored
-