Skip to content
Snippets Groups Projects
  1. Jul 27, 2017
  2. Jul 26, 2017
  3. Jul 25, 2017
  4. Jul 24, 2017
  5. Jul 21, 2017
  6. Jul 20, 2017
  7. Jul 19, 2017
  8. Jul 18, 2017
    • Eric Cano's avatar
      Created a helper function for retrieve queue selection. · e71e1826
      Eric Cano authored
      In order to be efficient, the data (tape status and queue sizes) is cached in memory.
      This function needed access to the catalogue (where the tape status is located).
      This in turn required passing the catalogue object to:
       - The garbage colletion functions for all object types.
       - The garbage collector object now keeps a reference to the catalogue.
       - The path to the catalogue credential file should now be passed to cta-objectstore-collect-orphaned-object
       - The OStoreDB also needs a reference to the catalogue in order to queue retrive requests.
      
       The garbage collection member function are now also being passed a log context, so the requirement for better
       log of object fate can also be fulfilled later. This in turn required the passing of a logger object to
       the object store and relative helper classes.
      
       Finally, a dummy catalogue class has been created to be used in unit tests.
      e71e1826
    • Julien Leduc's avatar
      Fixing the local ctaeos instance test in a 777 directory, so that we can · dd3e3f58
      Julien Leduc authored
      sort out tests that failed because of EOS instance
      dd3e3f58
  9. Jul 17, 2017
  10. Jul 14, 2017
    • Steven Murray's avatar
    • Steven Murray's avatar
      xCom_deletearchive does not call the object store · 644dc9e5
      Steven Murray authored
      This is a TEMPORARY modification to the  CTA front end.
      
      When an "eos rm" command is executed the xCom_deletearchive()
      method of the CTA front is called.  Before this commit the
      mthod would try to removed the archive file from both the
      object store and the CTA catalogue.  This took more than 15
      seconds to complete under som ecircumstances.  This commit
      removes the call to the object store.
      
      Please note that this commit will causes a leak in archive
      files.  If a file is "in-flight" and therefore has not yet
      been written to tape and recorded in the CTA catalogue
      then a call to "eos rm" will do nothing and the file will
      eventually appear in the CTA catalogue when it is written
      to tape.  The file will therefore NOT be in the EOS
      namespace but it WILL be in the CTA catalogue.
Loading