Riak:如果删除目标,链接会消失吗? [英] Riak: are links dissolved if the target is deleted?

查看:60
本文介绍了Riak:如果删除目标,链接会消失吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当从商店中删除商品时,是否会自动从链接到现在丢失商品的所有文档中删除链接?或者我们是否遇到过类似于 HTML 页面上的断开链接的情况?

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?

推荐答案

不会,链接不会自动删除.

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.

这篇关于Riak:如果删除目标,链接会消失吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆