orientdb - Orientdb-gremlin 中的多重关系问题
问题描述
让我们创建 3 个顶点(没有关系)[工作正常]
graph.addVertex(label, "Master", "title", "master")
graph.addVertex(label, "Test", "title", 'abc')
graph.addVertex(label, "Test", "title", 'xyz')
用 abc 链接 master [工作正常]
g.V().hasLabel("Master").addE("relation").to(g.V().has("Test","title",'abc'))
将主服务器与 xyz 链接 [失败]
g.V().hasLabel("Master").addE("relation").to(g.V().has("Test","title",'xyz'))
错误
Cannot UPDATE the record #59:3 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v2 your=v1)
解决方案
发生此异常是因为您在多版本控制检查 (MVCC) 系统中运行,并且另一个线程/用户已更新您正在保存的记录。有关此主题的更多信息,请查看并发。
是这样吗?
如果是这样,您可以检查此链接
希望能帮助到你
问候
推荐阅读
- terraform - 如何通过 terraform 检索 Azure 规模集的 VM 专用 IP 地址?
- r - 如何在 R ggplot2 中获取与填充美学不同的图例标签
- angular - Angular(typescript)中带有tassign的Redux试图加入state.array和action.array但获取state.array.join不是一个函数?
- javascript - 此检查如何与 JS 中的运算符优先级一起使用
- javascript - Babelifying JavaScript Module Pattern with ES6 Arrow Functions
- wix - 是什么导致 WIX 错误:““GenerateHarvestedSourceFiles”任务意外失败。'?
- angular - 在使用处理异步调用方面需要帮助。任何关于使用 Vertx3-EventBus 和 angular 编写 Observable 的建议
- corda - 通知compatibilityZoneURL 时,广告的P2P 消息地址发生变化
- jekyll - 传递参数以包含在 Liquid for 循环中
- cmd - How to move PDF files depending on number at beginning of file name into directory starting with same number?