Skip to content
Snippets Groups Projects
  1. Jun 03, 2017
  2. Jun 26, 2017
  3. Jun 23, 2017
  4. Jun 22, 2017
    • Julien Leduc's avatar
      Adding xargs to xrdcp in parallel. · bc78a7a7
      Julien Leduc authored
      bc78a7a7
    • Steven Murray's avatar
      cta/CTA#139 cta af ls --vid XXXXX command times out if there are many files on a tape · e30077f9
      Steven Murray authored
      The CTA front-ends code for replying to requests is currently
      incompatible with streaming back large reply messages such as
      the contents of a tape.
      
      Executing the "cta" command-line tool results in the CTA
      front-end creating a temporary server side representation of
      a file.  The XrdCtaFile class implements this server side
      representation of a file.
      
      The constructor of the XrdCtaFile class generates the entire
      contents of the file in one shot.  The contents of the file
      are in fact the message a user of the "cta" command-line
      eventually sees on their screen (standard out).
      
      The entire single shot contents of the file are presented to
      the XRootD framework as a memory mapped file which is in
      fact a simple "one-shot" array of bytes.  This memory mapped
      file approach is implemented by the XrdCtaFile::getMmap()
      method returning SFS_OK and setting the Addr and Size
      variables.
      
      This commit replaces the memory mapped file approach of
      XrdCtaFile::getMmap() with the stream interface approach of
      XrdCtaFile::read().
      
      Please note that the CTA front-end is still not actually
      streaming the result of "cta af ls --vid XXXX".  This
      commit is one step closer.  The whole reply message is
      still generated in one shot by the constructor of
      XrdCtaFile.  The contents are however now streamed off
      to the "cta" command-line tool via multiple calls to
      XrdCtaFile::read().
      e30077f9
    • Steven Murray's avatar
      cta/CTA#139 cta af ls --vid XXXXX command times out if there are many files on a tape · 6eaec865
      Steven Murray authored
      Factorised out the RdbmsArchiveFileItor class so it is easier to
      work with and modify.
      6eaec865
    • Steven Murray's avatar
      WIP · 2ca3d2c5
      Steven Murray authored
      2ca3d2c5
    • Julien Leduc's avatar
    • Steven Murray's avatar
      d2a2300e
    • Eric Cano's avatar
    • Eric Cano's avatar
      Merging in branch earlyDriveStatusReset. · 8e075acb
      Eric Cano authored
      This branch is a workaround as buildtree runner does not work in master.
      8e075acb
    • Eric Cano's avatar
      Fixed end of session being reported too early in ArchiveSessions. · b3c2d5de
      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               -
      b3c2d5de
  5. Jun 21, 2017
Loading