-
- Downloads
Created a helper function for retrieve queue selection.
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.
Showing
- catalogue/DummyCatalogue.hpp 114 additions, 0 deletionscatalogue/DummyCatalogue.hpp
- objectstore/Agent.cpp 2 additions, 1 deletionobjectstore/Agent.cpp
- objectstore/Agent.hpp 2 additions, 1 deletionobjectstore/Agent.hpp
- objectstore/AgentRegister.cpp 2 additions, 1 deletionobjectstore/AgentRegister.cpp
- objectstore/AgentRegister.hpp 2 additions, 1 deletionobjectstore/AgentRegister.hpp
- objectstore/ArchiveQueue.cpp 2 additions, 1 deletionobjectstore/ArchiveQueue.cpp
- objectstore/ArchiveQueue.hpp 2 additions, 1 deletionobjectstore/ArchiveQueue.hpp
- objectstore/ArchiveRequest.cpp 5 additions, 1 deletionobjectstore/ArchiveRequest.cpp
- objectstore/ArchiveRequest.hpp 2 additions, 1 deletionobjectstore/ArchiveRequest.hpp
- objectstore/CMakeLists.txt 1 addition, 1 deletionobjectstore/CMakeLists.txt
- objectstore/DriveRegister.cpp 2 additions, 1 deletionobjectstore/DriveRegister.cpp
- objectstore/DriveRegister.hpp 2 additions, 1 deletionobjectstore/DriveRegister.hpp
- objectstore/GarbageCollector.cpp 3 additions, 3 deletionsobjectstore/GarbageCollector.cpp
- objectstore/GarbageCollector.hpp 2 additions, 1 deletionobjectstore/GarbageCollector.hpp
- objectstore/GarbageCollectorTest.cpp 14 additions, 5 deletionsobjectstore/GarbageCollectorTest.cpp
- objectstore/GenericObject.cpp 15 additions, 12 deletionsobjectstore/GenericObject.cpp
- objectstore/GenericObject.hpp 7 additions, 2 deletionsobjectstore/GenericObject.hpp
- objectstore/Helpers.cpp 153 additions, 1 deletionobjectstore/Helpers.cpp
- objectstore/Helpers.hpp 57 additions, 0 deletionsobjectstore/Helpers.hpp
- objectstore/ObjectOps.hpp 4 additions, 1 deletionobjectstore/ObjectOps.hpp
Loading
Please register or sign in to comment