1. 08 Oct, 2019 1 commit
  2. 25 Jul, 2019 1 commit
  3. 05 Mar, 2019 1 commit
    • Eric Cano's avatar
      Expanded retrieve requests for repack · 19266cc0
      Eric Cano authored
      The retrieve requests now carry all the information necessary to create the archive jobs.
      Retrive requests carry an isRepack boolean. The distinction between repack and non-repack behaviour
      is pushed as low as possible in the api (in the object store) so that client code can be more
      generic. For the same reason, the
      The expand repack mode (re-creation of missing tape files) is not supported yet.
      Changed the represenation of copy numbers to uint32 (as this is the smalled number supported but protocol buffers).
      Added ArchiveRoute::StorageClassMap and ArchiveRoute::FullMap to store archive routing in memory.
      Added repack buffer base URL support, and mechanism to compute temporary copy location in disk cache.
      Fixed bug in ObjectOps<>::asyncInsert();
      Inplemented the path generation for repack disk storage (<BaseURL>/<VID>/<FSeq (09%d)>).
      19266cc0
  4. 23 Jan, 2019 1 commit
  5. 14 Sep, 2018 1 commit
  6. 29 Jun, 2018 1 commit
  7. 28 Jun, 2018 1 commit
  8. 29 May, 2018 1 commit
  9. 30 Apr, 2018 1 commit
  10. 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
  11. 16 Aug, 2017 1 commit
    • Victor Kotlyar's avatar
      Implement batch reporting to the backend for successful retrieve jobs. · b7213e30
      Victor Kotlyar authored
      Proceed all successful reports asynchronously and periodically check
      and clear statuses if they have finished.
      In the end of session do the check/flush for all reports in the
      successful reports queue.
      
      Switch from synchronous rados remove to async aio_remove in
      case of zero size object in BackendRados::AsyncUpdater
      b7213e30
  12. 27 Jul, 2017 1 commit
    • Eric Cano's avatar
      Implemented missing OStoreDB::RetrieveJob::fail() · 3a824734
      Eric Cano authored
      The retrieve request now gets properly queued in case of retrieve error.
      The errors are counted and the request gets deleted eventually.
      A new field was added to the retrive request in object store. This commit
      will fail on upgrade if there are retrieve requests still queued at update time.
      Cleaned up some unused structures in cta.proto
      Minor modifications to ArchiveJobs.
      3a824734
  13. 25 Jul, 2017 1 commit
  14. 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
  15. 19 Oct, 2016 1 commit
  16. 17 Oct, 2016 1 commit
  17. 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
  18. 09 Sep, 2016 1 commit
  19. 05 Sep, 2016 1 commit
  20. 29 Aug, 2016 1 commit
  21. 19 Jul, 2016 3 commits
  22. 03 Feb, 2016 1 commit
  23. 29 Jan, 2016 1 commit
  24. 08 Dec, 2015 2 commits
  25. 05 Dec, 2015 1 commit
  26. 04 Dec, 2015 3 commits
  27. 20 Nov, 2015 1 commit
  28. 30 Oct, 2015 1 commit
  29. 18 Sep, 2015 1 commit
  30. 24 Aug, 2015 2 commits
  31. 14 Aug, 2015 2 commits
  32. 13 Aug, 2015 1 commit
  33. 12 Aug, 2015 1 commit