Riak: are links dissolved if the target is deleted?

穿精又带淫゛_ 提交于 2019-12-10 10:47:08

问题


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:


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.



来源:https://stackoverflow.com/questions/5113264/riak-are-links-dissolved-if-the-target-is-deleted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!