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?
Asked
Active
Viewed 222 times
1 Answers
5
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.

hdima
- 3,627
- 1
- 19
- 19
-
I guess that Riak cant answer "what links to this node" queries? – Jesvin Jose Mar 17 '12 at 14:19
-
No. There is no any indexes for links in Riak. – hdima Mar 19 '12 at 12:26