1. 06 Sep, 2016 1 commit
  2. 05 Sep, 2016 1 commit
  3. 01 Sep, 2016 1 commit
  4. 29 Aug, 2016 2 commits
    • Eric Cano's avatar
      Simplified the interface of the TapedProxy and TapeServerReporter. · 2bf36ce4
      Eric Cano authored
      The TapeServerReporter, which is the main interface for the tape thread and tasks,
      now has a simple reportState() function instead of mnay ad-hoc ones. The only ones
      remaining are reportTapeUnmountedForRetrieve() and reportDiskCompleteForRetrieve()
      as they allow managing the special case of retrieve where the session can from
      Running to either ShutingDown or DrainingToDisk depending on which order the
      threads complete.
      
      The actual calls to send messages to taped are now 3: reportState,
      addLog, removeLog.
      2bf36ce4
    • Steven Murray's avatar
  5. 24 Feb, 2016 2 commits
  6. 29 Jan, 2016 1 commit
  7. 08 Dec, 2015 1 commit
  8. 05 Dec, 2015 1 commit
  9. 14 Aug, 2015 1 commit
  10. 07 Aug, 2015 1 commit
  11. 24 Jul, 2015 1 commit
  12. 16 Jul, 2015 2 commits
  13. 15 Jul, 2015 2 commits
  14. 26 Mar, 2015 1 commit
  15. 03 Mar, 2015 1 commit
  16. 18 Feb, 2015 1 commit
  17. 03 Dec, 2014 1 commit
  18. 02 Dec, 2014 1 commit
  19. 27 Nov, 2014 1 commit
  20. 20 Nov, 2014 1 commit
  21. 19 Nov, 2014 1 commit
    • 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
  22. 28 Oct, 2014 1 commit
    • Eric Cano's avatar
      CASTOR-4743: tapeserverd logs fixes Naan + unclear message · 302992f6
      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.
      302992f6
  23. 17 Oct, 2014 1 commit
    • 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
  24. 15 Oct, 2014 1 commit
  25. 07 Oct, 2014 1 commit
  26. 06 Oct, 2014 2 commits
  27. 03 Oct, 2014 3 commits
  28. 24 Sep, 2014 1 commit
  29. 05 Sep, 2014 1 commit
  30. 05 Aug, 2014 1 commit
  31. 30 Jul, 2014 1 commit
  32. 23 Jul, 2014 1 commit
  33. 22 Jul, 2014 1 commit