1. 13 Dec, 2018 1 commit
  2. 22 Jun, 2018 1 commit
  3. 29 May, 2018 1 commit
    • Eric Cano's avatar
      Added new queue sets in RootEntry. · e21dd9f8
      Eric Cano authored
      We now have live (to be executed), failed and to be reported queues.
      Archive jobs have all three types, retrieve jobs do not have a to be reported
      queue. The RootEntry interface interface now provides the choice between the types.
      All uses are currently hardcoded to LiveJobs.
      e21dd9f8
  4. 28 Mar, 2018 1 commit
  5. 22 Mar, 2018 1 commit
  6. 06 Feb, 2018 1 commit
  7. 19 Jan, 2018 1 commit
  8. 22 Dec, 2017 1 commit
  9. 21 Dec, 2017 1 commit
  10. 20 Dec, 2017 2 commits
  11. 17 Nov, 2017 1 commit
  12. 10 Nov, 2017 1 commit
  13. 07 Nov, 2017 1 commit
  14. 30 Oct, 2017 1 commit
  15. 26 Oct, 2017 1 commit
    • Eric Cano's avatar
      Switched garbage collector from dedicated watcher to all watch all strategy. · 196e6e18
      Eric Cano authored
      The previous strategy was made under the assumption that we needed to lock sparingly.
      With the introduction of lockfree strategy, this is not true anymore.
      The new strategy will be immune from the A watches B, B watches A, both die, and
      no one garbage collects them situation (also called cyclers in utility cta-objectstore-unfollow-agent).
      196e6e18
  16. 28 Sep, 2017 1 commit
  17. 22 Sep, 2017 1 commit
  18. 18 Sep, 2017 1 commit
    • Eric Cano's avatar
      Work in progree: Changed layout of GenericObject::asyncLockfreeFetch so it... · 7159c56c
      Eric Cano authored
      Work in progree: Changed layout of GenericObject::asyncLockfreeFetch so it matches the model of previous sync operations
      
      like ArchiveRequest::asyncUpdateJobOwner().
      Also made the no lock management match the model of previously developped nolock operations.
      Removed Backend::AsyncLockfreeFetcher::wait() as get() will pass the exceptions anyway.
      7159c56c
  19. 15 Sep, 2017 2 commits
  20. 14 Sep, 2017 1 commit
  21. 11 Sep, 2017 1 commit
  22. 01 Aug, 2017 1 commit
    • Eric Cano's avatar
      Fixed garbage collector mishandling disappearing agent. · 238325c3
      Eric Cano authored
      The appearance and disappearance of the agents is totally asynchronous for the garbage collector.
      For this reason, GC should tolerate deletion of object at any time. This commit fixes the case where the
      object disappears shortly after the garbage collector decides to watch it.
      238325c3
  23. 25 Jul, 2017 1 commit
  24. 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
  25. 14 Jul, 2017 1 commit
  26. 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
  27. 20 Jun, 2017 1 commit
  28. 23 May, 2017 1 commit
  29. 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
  30. 04 Apr, 2017 1 commit
  31. 30 Mar, 2017 1 commit
  32. 22 Jun, 2016 1 commit
  33. 02 Jul, 2015 1 commit
  34. 08 Jun, 2015 1 commit
  35. 05 Jun, 2015 1 commit
  36. 04 Jun, 2015 1 commit
  37. 03 Jun, 2015 1 commit