links and object deletion

Mark Phillips mark at
Sun Jun 3 23:38:44 EDT 2012

Hi José,

On Fri, Jun 1, 2012 at 2:34 PM, José Ghislain Quenum <
jose.quenum at> 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.


> José
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list