Riak: are links dissolved if the target is deleted

2019-05-26 08:15发布

When an item is deleted from a store are links automatically deleted from all of the documents linking to the now missing item? Or do we have a situation that's similar to a broken link on an HTML page?

1条回答
贼婆χ
2楼-- · 2019-05-26 08:47

No, links are not deleted automatically.

Links are just a metadata stored with objects so to find all objects which link to a deleted object you need to traverse the whole database which is not reasonable.

查看更多
登录 后发表回答