1. 18 Jul, 2017 2 commits
    • Eric Cano's avatar
      Created a helper function for retrieve queue selection. · be6d0b4d
      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.
    • Julien Leduc's avatar
      Fixing the local ctaeos instance test in a 777 directory, so that we can · 31f3ac02
      Julien Leduc authored
      sort out tests that failed because of EOS instance
  2. 17 Jul, 2017 3 commits
  3. 14 Jul, 2017 9 commits
  4. 13 Jul, 2017 8 commits
  5. 12 Jul, 2017 10 commits
  6. 11 Jul, 2017 7 commits
  7. 06 Jul, 2017 1 commit
    • Eric Cano's avatar
      Fixed garbage collector cleanup. · c9c63df8
      Eric Cano authored
      Implemented GarbageCollector::reinjectOwnedObject() and called it on garbage collector shutdown.
      This fixes the issue of non-empty garbage collectors exiting.