How is i_is_deleted attribute used in version tree?

来源:互联网 发布:ips独轮车软件 编辑:程序博客网 时间:2024/05/22 18:27

How is i_is_deleted attribute used in version tree?

https://solutions.emc.com/emcsolutionview.asp?id=esg27585

 

If a new version is created for an object, i_chronicle_id of the new version contains the r_object_id of the root version (1.0 version). So all the objects in the version tree share the same i_chronicle_id, and the i_chronicle_id of the root version is just the r_object_id of itself.

i_is_deleted is set to T only when the root version is deleted AND any other version object still exists. (e.g.. : root version is deleted whereas 1.3 version still exists). In this case the object can be found by DQL "select .... from <type> (DELETE) where ...". The object with i_is_deleted set to T also disappears when the last object in the version tree is deleted.