- 16 Jul, 2015 2 commits
-
-
Steven Murray authored
-
Steven Murray authored
Renamed CTA/tapeserver/castor to CTA/tapeserver/castor_checkout in preparation for the moving the sub-directory CTA/tapeserver/castor/castor up the directory tree
-
- 15 Jul, 2015 2 commits
-
-
Steven Murray authored
-
Eric Cano authored
-
- 05 Dec, 2014 1 commit
-
-
Eric Cano authored
Added a new m_moverHandlerPort member to the diskFileFactory class, so the new xroot-c2fs URLs can be implemented. Propagated the value from castor.conf through the constructors of the DiskThreadPools and the DataTranferSessions.
-
- 19 Nov, 2014 1 commit
-
-
Eric Cano authored
Propagated references to the watchdog to disk and tape threads and tasks. Added a maps for storing the count of all errors that occured during the session. Added propagation of the counts to the initial process. Added error reporting in disk and tapes threads and tasks by using a string marker allowing to know which part went wrong in high level exception. Exceptions then bumps up the count in the watchdog (synchronously), and the watchdog sends the new count to the initial thread later (in the watchdog's thread). Plus some missing logs fixed when an exception is thrown in a disk write task. Added interface to reference the recall watchdog to the recall disk thread pool. Next: Do same for migration. Actually store the reference. Add new error map storing in watchdog. Add error reporting in tape and disk threads. WIP: Added missing file ID for disk write thread. Added missing error log when an exception is thrown in a disk write task. WIP: switching to CASTOR-4839 tapeserverd: task injector should decide on closing the session earlier WIP. Next: log unmount errors (in the RAII) Finished error counting in data threads.
-
- 11 Nov, 2014 1 commit
-
-
Eric Cano authored
Removed leftovers of special case snprintf call for double, now that snprintf is the default for doubles.
-
- 31 Oct, 2014 2 commits
- 30 Oct, 2014 1 commit
-
-
Eric Cano authored
-
- 28 Oct, 2014 1 commit
-
-
Eric Cano authored
The offending message has been changed in a previous case: CASTOR-4749 Reviewed all bandwidth calculations to homogenize the statistics printing. Fixed a bug where the total time for a session was not properly retrieved before logging, leading to NaN printouts.
-
- 15 Oct, 2014 1 commit
-
-
Steven Murray authored
I believe the Timer class is generic enough to be used by any part of CASTOR and not just tape.
-
- 12 Oct, 2014 2 commits
-
-
Eric Cano authored
CASTOR-4739: tapeserverd should support localfile, rfio, xroot and rados striper access for disk files Moved the call to getConfEntString(XROOT, PrivateKey, /opt/xrootd/keys/key.pem one step up to allow unit testing in environments without a castor.conf
-
Eric Cano authored
CASTOR-4739: tapeserverd should support localfile, rfio, xroot and rados striper access for disk files After testing Xroot access, realised that we need to add a signature in the opaque data of the Xroot URL. A signature using OpenSSL, as used in other places of the project was implemented, but did not pass the memory leak and race condition tests. As discussed with the rest of the team, OpenSSL is not to be trusted and has poor quality memory managment. The CryptoPP library, also part of the SLC6 distribution has been tested as well, and it output validated (on a few example) with OpenSSL's. CryptoPP can be used instead of OpenSSL, and has been put in place. This commit still contains the OpenSSL for reference. The next commit will remove it.
-
- 26 Sep, 2014 1 commit
-
-
Eric Cano authored
Attempted fix to the bug CASTOR-4736: Race condition in unit tests (tapeServer_DataTransferSessionMissingFilesMigration_Test) The explicit separation between the decrement of the counter in AtomicCounter::operator-- was not enough to prevent the deadlock, which was reproduced. After just adding storage of the value in a variable and printout in DiskReadThreadPool::DiskReadWorkerThread::run, the problem seemed to be gone after about one hour of loop testing. I commit this change and push it to teamcity to get more chances of reproducing the issue (if it is still present). If this patch solves the problem, we might be facing a misguided compiler optimisation.
-
- 25 Sep, 2014 1 commit
-
-
Eric Cano authored
Tapeserverd now support file://, root:// rfio:// and radosStriper:// URLs, on top of heuristic protocol guessing from the hostname:[/]path synthax. The rados striper version is not yet fleshed out yet. The xroot client used for this is the latest object oriented client (XrdCl::File).
-
- 12 Sep, 2014 1 commit
-
-
Eric Cano authored
Fixed more slashes in paramter names (MB/s replaced by MBps) and put all tape server stats in MB (as opposed to Mib).
-
- 08 Sep, 2014 1 commit
-
-
Eric Cano authored
Also removed slashes from parameter names.
-
- 05 Aug, 2014 1 commit
-
-
David COME authored
-
- 25 Jul, 2014 3 commits
-
-
David COME authored
-
David COME authored
-
David COME authored
-
- 03 Jul, 2014 1 commit
-
-
David COME authored
-
- 27 Jun, 2014 1 commit
-
-
David COME authored
TaskWatchDog is now template, can detect when the drive is stuck and ask the right report packer to report that file as wrong, close the session and kill the whole process
-
- 08 May, 2014 1 commit
-
-
David COME authored
-
- 06 May, 2014 1 commit
-
-
David COME authored
-
- 02 May, 2014 1 commit
-
-
Eric Cano authored
Removed interface classes DiskReadTaskInterface, DiskWriteTaskInterface, DiskThreadPoolInterface
-
- 30 Apr, 2014 1 commit
-
-
Eric Cano authored
Otherwise, there was a race condition between the control thread and the worker threads. Now, the log context of the worker thread is passed and used by popAndRequestMore.
-
- 29 Apr, 2014 2 commits
-
-
David COME authored
the bytes/files numbers are specified at construction time and thus no longer necessary at the call
-
David COME authored
Added a few logs in DiskReadThreadPool ans fixed some log levels into MemManager MigrationTaskInjector and RecallMemoryManager
-
- 23 Apr, 2014 2 commits
-
-
David COME authored
-
David COME authored
-
- 22 Apr, 2014 5 commits
-
-
David COME authored
-
David COME authored
-
David COME authored
-
Eric Cano authored
Renamed member variables to canonycal m_ Renamed TaskInjector->end to TaskInjector->finish() to match other threads conventions. Fixed missing finish() in RecallTaskInjectorTest Added missing finish() call in TapeReadTSingleThread.
-
Eric Cano authored
added a thread logging parameter, indicating the thread involved added startup and finish log messages for threads.
-
- 16 Apr, 2014 2 commits
-
-
David COME authored
-
David COME authored
setTaskInjector, popAndRequestMore have been created and m_maxBytesReq,m_maxFilesReq have been added to be able to call TaskInjector::requestInjection
-
- 14 Apr, 2014 1 commit
-
-
David COME authored
Fixed stupid new line at the end of the file for SLC5 in DiskReadThreadPool.cpp and DiskWriteTask.cpp
-