Skip to content
Snippets Groups Projects
user avatar
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
History
Name Last commit Last update