Open tingulfsen opened 7 years ago
-- see #29 for story ticket
pseudo code to try expressing the inventory service and the methods it will need:
Could be
Given information about an online Moab object read from Object Inventory Data Store:
Afterwards, update timestamp in database?
Discrepancy handling? ("trigger/signal recovery process")
Discrepancy handling? (trigger/signal recovery process?)
aka "fixity workflow"
Discrepancy handling? Afterwards, update timestamp in database?
For each expected archive copy:
do we do the same checks as above? If so, for anything besides existence and size, would need to unpack archived object
Discrepancy handling? (trigger/signal archived object recovery process?)
These are some resources that provide background information:
Audit Process's view of the world
-- see #29 for story ticket
pseudo code to try expressing the inventory service and the methods it will need:
Which Objects Are to Be Audited?
Could be
For Each Object being audited:
Given information about an online Moab object read from Object Inventory Data Store:
Confirm Object EXISTENCE at Online Storage Root
Afterwards, update timestamp in database?
Discrepancy handling? ("trigger/signal recovery process")
Confirm Object SIZE at Online Storage Root
Afterwards, update timestamp in database?
Discrepancy handling? (trigger/signal recovery process?)
Confirm Object's CURRENT VERSION at Online Storage Root
Afterwards, update timestamp in database?
Discrepancy handling? (trigger/signal recovery process?)
Perform FIXITY Checking
aka "fixity workflow"
Discrepancy handling? Afterwards, update timestamp in database?
What ARCHIVE Copies Exist?
For each expected archive copy:
do we do the same checks as above?
If so, for anything besides existence and size, would need to unpack archived object
Discrepancy handling? (trigger/signal archived object recovery process?)