1. 13 Dec, 2018 1 commit
  2. 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
  3. 30 Apr, 2018 1 commit
    • Eric Cano's avatar
      Added better handling of absent queue. · 755df30f
      Eric Cano authored
      The situation can happen if the queue was removed but not yet derefernced from the
      root entry while another process tries access the queue. This a race condition.
      The process trying to access the queue will proceed the with cleanup itself
      and retry.
      755df30f
  4. 07 Dec, 2017 2 commits
  5. 17 Nov, 2017 1 commit
  6. 07 Nov, 2017 1 commit
  7. 26 Oct, 2017 1 commit
  8. 17 Aug, 2017 1 commit
  9. 16 Aug, 2017 1 commit
  10. 03 Aug, 2017 1 commit
  11. 02 Aug, 2017 2 commits
  12. 29 Jul, 2017 1 commit
  13. 27 Jul, 2017 1 commit
  14. 21 Jul, 2017 2 commits
  15. 20 Jul, 2017 1 commit
  16. 19 Jul, 2017 2 commits
    • Eric Cano's avatar
      Validated and fixed RetrieveRequest::garbageCollect with a unit test · d78c5ff6
      Eric Cano authored
      Created a unit test for RetrieveRequest garbage collection.
      Created a RetrieveQueue::addJobIfNecessary function.
      Fixed various bugs in RetrieveRequest::garbageCollect.
      Added basic functionnality to DummyCatalogue for GC unit tests.
      Cleaned up interace of RetrieveRequest for functions that are never used.
      Implemented missing function in RootEntry.
      Homogenized capitalisation of object names.
      Added support for RetrieveRequest in cta-objectstore-collect-orphaned-object.
      d78c5ff6
    • Eric Cano's avatar
      Completed implementation of RetrieveRequest::garbageCollect(). · 84e6b7e3
      Eric Cano authored
      Added a tape queue and status cache update function in objectstore::Helpers.
      84e6b7e3
  17. 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
  18. 19 Jun, 2017 1 commit