- Feb 18, 2014
-
-
Steven Murray authored
CASTOR start with lower case letters.
-
- Feb 17, 2014
-
-
Steven Murray authored
tapeserverd.cpp and tapeserverd.hpp with: TapeDaemon.cpp, tapeDaemon.hpp and TapeDaemonMain.cpp
-
Steven Murray authored
that is carried out when the method checks that the child has successfully detached from the parent by making sure the return value of getppid() is 1. I have removed the sanity check because it is time dependent. If the child calls getppid() before the parent has enough time to exit then the child gets the process ID of its true parent as opposed to the process ID of the init process.
-
Steven Murray authored
castor/server/Daemon.cpp and castor/tape/tapeserver/daemon/tapeserverd.cpp.
-
Steven Murray authored
This reverts commit e6407258.
-
Steven Murray authored
castor::exception::DetachFailed
-
Daniele Kruse authored
-
- Feb 14, 2014
- Feb 15, 2014
-
-
Steven Murray authored
of the following class: castor::server::Daemon Subclasses now have a more explicit API for parsing the command-line. They can delegate the task to the above Daemon class or they can implement there own parsing logic. In the latter case the subclass must call the following Daemon method: castor::server::Daemon::setCommandLineParsed(bool foreground); This method makes it clear what the Daemon class needs to know from a parse of the command-line. If a client subclass calls the getForeground() method of the Daemon class before callng setCommandLineParsed() then a CommandLineNotParsed exception shall be raised.
-
Steven Murray authored
castor/utils/UtilsTest.
-
- Feb 14, 2014
-
-
Steven Murray authored
objects representing standard in and standard error. By being able to provide dummy output stream objects, this modification allows C++ daemon objects to be instantiated in unit tests without the worry of them writing to the real standard in and standard error streams.
-
Eric Cano authored
-
Steven Murray authored
castor::server::Daemon
-
Steven Murray authored
-
- Feb 13, 2014
-
-
Eric Cano authored
-
Eric Cano authored
Made output verbose to understand the failure of suppression list in TeamCity.
-
Eric Cano authored
The base framework's marshaling code seems to race in std::string related functions. We suppress those errors to allow unit testing with race conditions detection.
-
Eric Cano authored
-
Daniele Kruse authored
-
Eric Cano authored
-
Eric Cano authored
The lazy initialization of member s_servicesKey was racing with its usage in services(). As the laziness is not really needed, replaced it with a init-time initialization in a small wrapper class.
-
- Feb 12, 2014
-
-
Eric Cano authored
Added support for Cthread_init and castor::BaseObject::resetServices in tape threads and unit tests. This will ensure that all tests and clients will be protected from memory leaks and race conditions.
-
Eric Cano authored
This allows the deletion of the services allocatated by the castor framework, and leak-free unit tests.
-
Eric Cano authored
Created a bare-bones tape session with corresponding harness in a unit test. Successfuly retrives the volume id from a client thread.
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
xroot clients. To migrate the prestage test we'll have to get xroot 4.0.0.
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
-
Eric Cano authored
[canoc3@lxc2dev3d2 CASTOR]$ grep -rl DbSegmentCnv . ./nbproject/configurations.xml ./nbproject/private/configurations.xml ./castor/db/cnv/DbSegmentCnv.cpp ./castor/db/cnv/DbSegmentCnv.hpp ./.git/index ./.git/objects/pack/pack-a749e3127a204825b5c252b2db64ec64d9c957e8.pack
-
- Feb 10, 2014
-
-
Steven Murray authored
-
Steven Murray authored
I have commented out the offending log statement because it logs st_size modulus 4GB. The log statement is therefore more confusing than useful. If anybody wishes to fix the following log line then they MUST test their fix by migrating a file larger than 4GB and see the correct value logged. Please note that the log statement was never used in production before I modified a few days ago. This was because the log was set at DEBUG level. I now regret moving it to INFO level. Right now this log is NOT priority.
-
Steven Murray authored
-
Steven Murray authored
Fixed in the v2_1_14Version branch.
-
- Feb 07, 2014
-
-
Giuseppe Lo Presti authored
-
Daniele Kruse authored
-
Elvin Sindrilaru authored
This flag is set when doing a stat with xrdfs. For this to work we needed to set the inode value to 0.
-
Elvin Sindrilaru authored
and it gives priority to individual mappings rather than using directly the wildcard "*"
-