1. 18 Jul, 2017 1 commit
    • 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.
      be6d0b4d
  2. 14 Jul, 2017 1 commit
  3. 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.
      c9c63df8
  4. 20 Jun, 2017 1 commit
  5. 23 May, 2017 1 commit
  6. 12 Apr, 2017 2 commits
    • Eric Cano's avatar
      cta/CTA#46: Garbage collection improvements · e446e939
      Eric Cano authored
      Implemented Agent::garbageCollect()
      Made AgentWatchdog fetch the timout from the agent object.
      Fixed unconditional time tounter reset in AgentWatchdog::checkAlive()
      Fixed missing log for garbageCollection.
      Added utility (cta-objectstore-unfollow-agent) to mark agents as not followed when they get orphaned. This utility detects looping ownerships (two garbage coolectors watch each other and both die synchronously). This utility is not packaged.
      Various log improvements.
      e446e939
    • Eric Cano's avatar
      cta/CTA#46: Garbage collector improvements · bb101dcf
      Eric Cano authored
      Added missing garbage collection for all object types.
      Added logging to AgentHeartbeat.
      Some object types still miss garbage collection implementation.
      bb101dcf
  7. 04 Apr, 2017 1 commit
  8. 30 Mar, 2017 1 commit
  9. 22 Jun, 2016 1 commit
  10. 02 Jul, 2015 1 commit
  11. 08 Jun, 2015 1 commit
  12. 05 Jun, 2015 1 commit
  13. 04 Jun, 2015 1 commit
  14. 03 Jun, 2015 1 commit
  15. 02 Jun, 2015 1 commit
  16. 27 May, 2015 1 commit
  17. 08 May, 2015 1 commit
  18. 07 May, 2015 1 commit
  19. 02 Mar, 2015 1 commit
  20. 27 Feb, 2015 2 commits