framework icon indicating copy to clipboard operation
framework copied to clipboard

Keep a track of object creation/update times

Open JeffreyDevloo opened this issue 8 years ago • 3 comments

Feature description

Keep a timestamp for when the object got:

  • Created
  • Last modified It is possible to get a history of certain things this way through the framework

JeffreyDevloo avatar Sep 11 '17 15:09 JeffreyDevloo

@JeffreyDevloo which objects do you mean? ALBA objects? In that case why would the framework be needed to store this information. Would it make more sense to store it in alba directly together with the object?

wimpers avatar Sep 12 '17 07:09 wimpers

All of them. Storagerouters, storagedrivers, vdisks, osds, backends ... It's some minor metadata that almost all databases keep track off, so why wouldn't we.

JeffreyDevloo avatar Sep 12 '17 07:09 JeffreyDevloo

Makes sense to add this for what the Framework stores. Maybe pick it up during https://github.com/openvstorage/framework/issues/1179 ?

For ALBA objects I believe ALBA would be best suited to store that info. https://github.com/openvstorage/alba/issues/814

wimpers avatar Sep 12 '17 07:09 wimpers