Thanks Mark.
Just a quick clarification.

when you say there will be some extra metadata on the object, which one do you 
mean exactly? The object being linked to, or the one holding the link
Secondly, I am actually using riak.js. How does a 404 translate in this case 
when I am doing a link walking and the object has been deleted? Will I have an 
id but not actual object? 
Please clarify
Thanks in advance
José

On 4 Jun 2012, at 05:38, Mark Phillips wrote:

> Hi José,
> 
> On Fri, Jun 1, 2012 at 2:34 PM, José Ghislain Quenum 
> <[email protected]> wrote:
> Hi all,
> Suppose I have two objects O1 and O2, with O1 having a link (say tag is 
> watches) to O2. What is the proper way to delete O2? Should I just delete O2 
> and then leave the link inconsistent until I find out and fix it? Or should I 
> always check whether that object has links to it and clean them up before 
> deleting the object. Please advise
> 
> There's no real issue if you leave a link dangling to an object that you've 
> deleted. The two things to be aware of:
> 
> * there will be some extra metadata on the object
> * if you walk the link to the non-existant object it'll return a 404. 
> 
> Mark 
> 
>  
> José
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to