- 19 Jun, 2017 1 commit
-
-
Eric Cano authored
Failing to report a migration is non-fatal, as succesfully written files can still be reported afterwards. synchronousReportEndWithErrors had to be rewritten as instanciating and calling a report would have created a race condition.
-
- 06 Oct, 2016 1 commit
-
-
Eric Cano authored
Added drive status reporting in scheduler Added drive status reporting in OStoreDB Added support for drive status listing in the front end Removed virtual functions from the Scheduler, which is never overloaded. Added DesiredDriveState structure to drive state. Removed usage of duplicate MountType, DriveStatus and DriveState structures. Created DriveInfo structure to allow recreation of drive register entry in all reporting situation (potentially with partial/assumed info).
-
- 09 Sep, 2016 1 commit
-
-
Victor Kotlyar authored
-
- 05 Sep, 2016 1 commit
-
-
Victor Kotlyar authored
Replaced castor file header with CTA file header Moved castor::server:: BlockingQueue Semaphores AtomicCounter AtomicFlag into cta::threading::
-
- 29 Aug, 2016 1 commit
-
-
Steven Murray authored
-
- 11 Aug, 2016 1 commit
-
-
Eric Cano authored
Ported DataTransferSessionTest unit test DataTransferSessionMissingFilesMigration and DataTransferSessionTapeFullMigration. Also fixed tapes not being set to full when reaching end of tape.
-
- 29 Jan, 2016 1 commit
-
-
Eric Cano authored
-
- 08 Dec, 2015 2 commits
-
-
Daniele Kruse authored
-
Daniele Kruse authored
-
- 05 Dec, 2015 1 commit
-
-
Daniele Kruse authored
-
- 20 Nov, 2015 1 commit
-
-
Eric Cano authored
Added suppression lists for external libraries and old castor one-off allocations. Enabled the memory check make test.
-
- 08 Oct, 2015 1 commit
-
-
Eric Cano authored
Refactored the Mocks to eliminate code duplication. (for Mock{Archive|Retrieve}{Job}Mount}
-
- 07 Oct, 2015 1 commit
-
-
Eric Cano authored
Removed mocking of classes where functions have non-copyable argumentes (unique_ptr). Replaced NULL references to watchdogs to dummies where necessary.
-
- 15 Sep, 2015 1 commit
-
-
Eric Cano authored
Implemented cta::ArchiveJob::complete(), and added the members that should be set to have the necessary information available at complete() time. Updated the calls in the archive_and_retrieve_new_file unit test.
-
- 02 Sep, 2015 1 commit
-
-
Daniele Kruse authored
Fixed the MigrationReportPackerTest and changed the MigrationReportPacker to be more similar to the RecallReportPacker
-
- 14 Aug, 2015 3 commits
-
-
Daniele Kruse authored
-
Daniele Kruse authored
-
Daniele Kruse authored
-
- 13 Aug, 2015 1 commit
-
-
Daniele Kruse authored
-
- 12 Aug, 2015 2 commits
-
-
Daniele Kruse authored
-
Daniele Kruse authored
-
- 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
-
- 20 Nov, 2014 1 commit
-
-
Eric Cano authored
errors for a non-crashing session can also be recorded as a failures in the tape log.
-
- 17 Oct, 2014 1 commit
-
-
Eric Cano authored
CASTOR-4751: tapeserverd does not report drive as empty and does not finish client session if user does not have migration access-rights The error situation was already generating an exception, which went all the way to the caller of the data transfer session. It is now intercepted and the client is notified synchronously. The session now ends successfully (the drive was not touched).
-
- 03 Oct, 2014 2 commits
-
-
Eric Cano authored
CASTOR-4765: The heartbeat messages of the data-transfer session of tapeserverd should include valid drive unit-names Partial implementation of the ticket: - The reporting to client and session exit part has been dismantled. - The template based implementation of the watchdog has been changed to a more classing inheritance schema. - The reporting to mother process of the moved blocks has been re-enabled.
-
Steven Murray authored
The C++ namespace castor::tape::tapeserver::drive now matches its directory structure.
-
- 10 Sep, 2014 2 commits
-
-
Eric Cano authored
-
Eric Cano authored
Created a unit test for validating the propagation of end of tape if the error happens during a flush. Updated the FakeDrive to generate the error. Added support for the propagation of ENOSPC error when it happens durring a flush. Added support for end of session status recording by the FakeClient and checks in the related unit tests.
-
- 05 Sep, 2014 1 commit
-
-
Eric Cano authored
Reviewed and fixed the error handling for migrations. A deadlock was created by the competing usage of a stop variable an normal information flow through the threads. The global variable's usage has been reduced and clarified: it is set by the tape thread to indicated an error reached it. From that point on, the remaining disk threads can stop what they are doing (and not before as failing to read a file should not block the completion of previous ones). The file errors are now transmitted to the client before end of session, and in case of flush. The unit tests have been updated accordingly. Report messages have been improved.
-
- 14 Aug, 2014 1 commit
-
-
Eric Cano authored
This implied adding file block ID tracking in TapeFile::WriteFile
-
- 07 Aug, 2014 1 commit
-
-
David COME authored
-
- 06 Aug, 2014 1 commit
-
-
David COME authored
-
- 05 Aug, 2014 1 commit
-
-
David COME authored
-
- 15 Jul, 2014 1 commit
-
-
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
-
- 23 Apr, 2014 1 commit
-
-
David COME authored
and DiskReadThreadPool
-