1. 06 Aug, 2015 1 commit
  2. 29 Jul, 2015 1 commit
  3. 24 Jul, 2015 1 commit
  4. 16 Jul, 2015 2 commits
  5. 15 Jul, 2015 2 commits
  6. 26 Mar, 2015 1 commit
  7. 18 Mar, 2015 1 commit
  8. 17 Mar, 2015 1 commit
  9. 15 Dec, 2014 2 commits
  10. 05 Dec, 2014 1 commit
  11. 02 Dec, 2014 1 commit
  12. 27 Nov, 2014 1 commit
  13. 21 Nov, 2014 1 commit
  14. 20 Nov, 2014 1 commit
  15. 19 Nov, 2014 2 commits
    • Eric Cano's avatar
      Fixed watch dog receiving the signal to stop too early. It is now stopped... · 6ca6b65a
      Eric Cano authored
      Fixed watch dog receiving the signal to stop too early. It is now stopped after all threads have completed.
      6ca6b65a
    • Eric Cano's avatar
      CASTOR-4832: tapeserverd should report error counts in the end of session statistics · 08e744a3
      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.
      08e744a3
  16. 18 Nov, 2014 2 commits
  17. 13 Nov, 2014 1 commit
  18. 11 Nov, 2014 2 commits
  19. 10 Nov, 2014 1 commit
    • Eric Cano's avatar
      CASTOR-4823: tapeserverd's main process should log statistics and status of... · 6dba38c5
      Eric Cano authored
      CASTOR-4823: tapeserverd's main process should log statistics and status of the closing session in all cases
      
      Added new messages between the session process and the main process: addition and removal of log parameters.
      Added storage of the log parameters in the catalogueTransferSession.
      Added logging of the tape session at the end in the initial process, allowing statistics gathering even in
      case of crash. This standard log message is intended to be used as an input for the tape log system.
      Changed the default off the formatting of doubles in the log so that we don't end up with hard to parse
      scientific notation in the logs.
      6dba38c5
  20. 22 Oct, 2014 1 commit
    • Eric Cano's avatar
      CASTOR-4749: tapeserverd must NOT treat tapegateway::NoMoreFiles as an error... · bbf4935a
      Eric Cano authored
      CASTOR-4749: tapeserverd must NOT treat tapegateway::NoMoreFiles as an error in response to a tapegateway::VolumeRequest
      
      A new unit test has been created for validating that Volume request -> No More Files is not considered as an error.
      
      The code has been changed accordingly. EndNotificationErrorReport is still considered an error.
      bbf4935a
  21. 17 Oct, 2014 2 commits
    • Eric Cano's avatar
      CASTOR-4751: tapeserverd does not report drive as empty and does not finish... · 2f97f2af
      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).
      2f97f2af
    • Eric Cano's avatar
      CASTOR-4800: failed migration mount of tapeserverd is not propagted to disk IO threads · 3e668815
      Eric Cano authored
      We had a session ending mechanism for the tape and disk tasks in migrations, but it did not cover all the aspects of the tape thread (like in this ticket, mounting). In this case the disk thread was happily reading the data from disk, which the tape thread was putting to the bin.
      
      The signalling mechanism, attached to the task injector has now been passed to tape write thread itself, which signals the error condition when receiving any exception. If this came from a task as before, this is a no-op, but if we had a problem mounting, then the session will and immediately and disk threads will stop reading (also immediately).
      3e668815
  22. 16 Oct, 2014 1 commit
  23. 15 Oct, 2014 2 commits
  24. 13 Oct, 2014 1 commit
  25. 12 Oct, 2014 2 commits
  26. 07 Oct, 2014 1 commit
  27. 06 Oct, 2014 4 commits
  28. 03 Oct, 2014 1 commit
    • Eric Cano's avatar
      CASTOR-4765: The heartbeat messages of the data-transfer session of... · d4c83fac
      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.
      d4c83fac