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