1. 04 Jul, 2018 1 commit
    • Eric Cano's avatar
      Added support for placeholder writing on tape. · b2f1c4e5
      Eric Cano authored
      When no data is received for a given file, the tape server will
      leave a placeholder on tape an carry on with the writing of the
      following files, avoiding a tape unmount.
      
      Updated unit test.
      b2f1c4e5
  2. 29 May, 2018 1 commit
  3. 22 Mar, 2018 1 commit
    • Eric Cano's avatar
      Implemented bulk retrieve request reporting · 72933cef
      Eric Cano authored
      Successful retrieve requests are asynchronously deleted as soon as they
      are complete. Then from time to time (every 500), the requests get removed from
      process ownership in bulk.
      72933cef
  4. 16 Nov, 2017 1 commit
  5. 09 Aug, 2017 1 commit
    • Victor Kotlyar's avatar
      Make archive reporting on the flush for the batch of jobs. · c8827ade
      Victor Kotlyar authored
      Changed reporting to the Catalog with a batch of written files.
      Changed synchronous reporting to the backend job by job to the
      asynchronous reporting for batch of jobs.
      Changed synchronous reporting to the EOS mgm to the asynchronous
      reporting.
      c8827ade
  6. 22 Jun, 2017 1 commit
    • Eric Cano's avatar
      Fixed end of session being reported too early in ArchiveSessions. · bb2436c1
      Eric Cano authored
      This led to VID being marked as available during unmount, and another drive could try an mount the same tape.
      Added various logs.
      
      The following sequence was observed in tests (with a sleep(3) at the end of MigrationReportPacker::ReportDriveStatus::execute() ):
       [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:10 CEST 2017
          drive   host  library  mountType    status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Mounting         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:12 CEST 2017
          drive   host  library  mountType       status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Transfering         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:16 CEST 2017
          drive   host  library  mountType      status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  CleaningUp         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:18 CEST 2017
          drive   host  library  mountType     status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Unloading         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:22 CEST 2017
          drive   host  library  mountType      status  desiredUp  forceDown     vid
        VDSTK11  tpsrv  VLSTK10    Archive  Unmounting         UP             V01001
      [eric@localhost ~]$ date; kubectl -n cta exec ctacli -- cta dr ls VDSTK11
      Thu Jun 22 11:19:25 CEST 2017
          drive   host  library  mountType  status  desiredUp  forceDown  vid
        VDSTK11  tpsrv  VLSTK10    NoMount      Up         UP               -
      bb2436c1
  7. 19 Jun, 2017 1 commit
  8. 06 Oct, 2016 1 commit
    • Eric Cano's avatar
      Implemented drive status support in drive register structure and code. · 56c4c332
      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).
      56c4c332
  9. 09 Sep, 2016 1 commit
  10. 05 Sep, 2016 1 commit
  11. 29 Aug, 2016 1 commit
  12. 11 Aug, 2016 1 commit
    • Eric Cano's avatar
      Ported DataTransferSessionTest unit test... · 8f8a17a0
      Eric Cano authored
      Ported DataTransferSessionTest unit test DataTransferSessionMissingFilesMigration and DataTransferSessionTapeFullMigration.
      
      Also fixed tapes not being set to full when reaching end of tape.
      8f8a17a0
  13. 29 Jan, 2016 1 commit
  14. 08 Dec, 2015 2 commits
  15. 05 Dec, 2015 1 commit
  16. 20 Nov, 2015 1 commit
  17. 08 Oct, 2015 1 commit
  18. 07 Oct, 2015 1 commit
  19. 15 Sep, 2015 1 commit
  20. 02 Sep, 2015 1 commit
  21. 14 Aug, 2015 3 commits
  22. 13 Aug, 2015 1 commit
  23. 12 Aug, 2015 2 commits
  24. 16 Jul, 2015 2 commits
  25. 15 Jul, 2015 2 commits
  26. 20 Nov, 2014 1 commit
  27. 17 Oct, 2014 1 commit
    • 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
  28. 03 Oct, 2014 2 commits
    • 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
    • Steven Murray's avatar
      Renamed castor::tape::tapeserver::drives to drive · 393f7a62
      Steven Murray authored
      The C++ namespace castor::tape::tapeserver::drive now matches its
      directory structure.
      393f7a62
  29. 10 Sep, 2014 2 commits
  30. 05 Sep, 2014 1 commit
    • Eric Cano's avatar
      Created a new unit test for failing migrations (missing disk file). · c89a902d
      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.
      c89a902d
  31. 14 Aug, 2014 1 commit
  32. 07 Aug, 2014 1 commit