1. 26 Oct, 2017 1 commit
  2. 03 Oct, 2017 1 commit
  3. 25 Sep, 2017 1 commit
  4. 15 Aug, 2017 1 commit
  5. 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.
  6. 29 Jun, 2017 2 commits
  7. 28 Jun, 2017 1 commit
  8. 20 Jun, 2017 3 commits
  9. 19 Jun, 2017 1 commit
  10. 12 Apr, 2017 1 commit
    • 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.
  11. 03 Apr, 2017 1 commit
    • Eric Cano's avatar
      cta/CTA#46: Adding garbage collection for object store structures: · cfe8f58b
      Eric Cano authored
      Created a garbage collector subprocess for the drive daemon.
      Created a AgentHeartbeat thread and added it to frontend, drive subprocess and GC subprocess.
      Fixed logs and drive subprocess.
      Renamed common/threading/Threading.[hc]pp to Thread.[hc]pp as there is only one class left in this file.
  12. 16 Jan, 2017 1 commit
  13. 16 Nov, 2016 1 commit
  14. 26 Oct, 2016 1 commit
  15. 15 Aug, 2016 1 commit
    • Eric Cano's avatar
      Split the Agent class into AgentReference and Agent. · 390ccab7
      Eric Cano authored
      Agent becomes a usual class, like any other in the object store.
      Object name generation (agent's and others) is now handled in the separate AgentReference.
      The previous situation created race conditions.
  16. 22 Jun, 2016 1 commit
  17. 06 Jun, 2016 1 commit
    • Eric Cano's avatar
      Fixed uninitialized values after extending policy structure. · 0aa2d510
      Eric Cano authored
      The values are now hardcoded.
        - Removed object store unit tests for data now in the catalogue.
        - Removed now unnecessary 2nd step addition of retry limits to archive jobs.
        - Removed deprecated ArchiveToFileRequest files.
  18. 31 May, 2016 1 commit
    • Eric Cano's avatar
      Added support for getting queued archive requests. · 028d9ea1
      Eric Cano authored
      Added binned running counters (ValueCoundMap) for managing summaries of priorities in object store queues.
      Simplified the interfaces to the getPendingArchiveJobs and getPendingRetrieveJobs functions in Scheduler and SchedulerDB.
      Removed now unused ArchiveToTapeCopyRequest.
      Removed long unused mockScheduler.
      Removed _old_protoype files.
  19. 25 May, 2016 1 commit
    • Eric Cano's avatar
      Started morphing the code to accomodate both the move some data structure from... · 7724a676
      Eric Cano authored
      Started morphing the code to accomodate both the move some data structure from OStoreDB to catalogue and shared structures modifications.
      Renamed class members using underscode instead of mixed case.
      Removed mount criteria from in-memory tape pool representation.
      Removed support for path of archive files for in-memory representations.
      Removed all but maxDrives allowed from in-memory representation of mount
      Created new constructor for UserIdentity.
      Switch the UserIdentity used by RemoteFileStatus.
      Renamed TapePoolQueue to ArchiveQueue.
      Replaced CreationLog usages with EntryLog.
      Renamed TapeQueue to RetrieveQueue.
      Removed support for data now gone to catalogue from RootEntry.
      Removed corresponding structures from object store.
      Removed corresponding calls from SchedulerDatabase and inheriting
      classes (OStoreDB).
  20. 04 Apr, 2016 1 commit
  21. 15 Mar, 2016 3 commits
  22. 04 Mar, 2016 1 commit
  23. 29 Feb, 2016 1 commit
  24. 26 Feb, 2016 1 commit
  25. 19 Feb, 2016 1 commit
  26. 14 Feb, 2016 1 commit
  27. 12 Feb, 2016 1 commit
  28. 03 Feb, 2016 1 commit
  29. 01 Dec, 2015 1 commit
  30. 27 Nov, 2015 1 commit
  31. 20 Nov, 2015 1 commit
    • Eric Cano's avatar
      Various memory leaks cleanups · 0b10ccba
      Eric Cano authored
      Added rados library version validation and cleanup.
      Created a new shared library to ensure instantiation of singleton object supporting the former.
      Removed several double creations of drive objects in unit tests.
      Added cleanup for potentially unused drive objects in unit tests.
  32. 12 Nov, 2015 1 commit
  33. 10 Nov, 2015 1 commit
  34. 05 Nov, 2015 2 commits