1. 15 Jun, 2021 1 commit
  2. 02 Jun, 2021 1 commit
  3. 19 Dec, 2017 1 commit
  4. 14 Dec, 2016 1 commit
  5. 07 Oct, 2016 1 commit
  6. 04 Oct, 2016 2 commits
  7. 09 Sep, 2016 1 commit
  8. 06 Sep, 2016 1 commit
  9. 05 Sep, 2016 1 commit
  10. 27 Jan, 2016 1 commit
  11. 24 Jul, 2015 1 commit
  12. 16 Jul, 2015 2 commits
  13. 15 Jul, 2015 2 commits
  14. 05 Dec, 2014 1 commit
  15. 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
  16. 11 Nov, 2014 1 commit
  17. 31 Oct, 2014 2 commits
  18. 30 Oct, 2014 1 commit
  19. 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
  20. 15 Oct, 2014 1 commit
  21. 12 Oct, 2014 2 commits
    • Eric Cano's avatar
      CASTOR-4739: tapeserverd should support localfile, rfio, xroot and rados... · e1d444b1
      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
      e1d444b1
    • Eric Cano's avatar
      CASTOR-4739: tapeserverd should support localfile, rfio, xroot and rados... · 623e11df
      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.
      623e11df
  22. 26 Sep, 2014 1 commit
    • Eric Cano's avatar
      Attempted fix to the bug CASTOR-4736: Race condition in unit tests... · b2b5bb58
      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.
      b2b5bb58
  23. 25 Sep, 2014 1 commit
    • Eric Cano's avatar
      Added support for file client switching in tapeserverd. · a45a1761
      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).
      a45a1761
  24. 12 Sep, 2014 1 commit
  25. 08 Sep, 2014 1 commit
  26. 05 Aug, 2014 1 commit
  27. 25 Jul, 2014 3 commits
  28. 03 Jul, 2014 1 commit
  29. 27 Jun, 2014 1 commit
  30. 08 May, 2014 1 commit
  31. 06 May, 2014 1 commit
  32. 02 May, 2014 1 commit
  33. 30 Apr, 2014 1 commit