英文:
Does Memgraph support adding relationships to the same node in parallel?
问题
我正在使用Memgraph平台v2.6.1,尝试在并行中添加关系到相同的节点,但出现了事务冲突错误。我想知道是否可以并行地向相同的节点添加关系,如果可以,正确的做法是什么。
英文:
I am using Memgraph Platform v2.6.1 and trying to add relationships to the same node in parallel and I get a transaction conflict error. I am wondering whether it is even possible to add relationships to the same node in parallel and if yes, what is the correct way to do it.
答案1
得分: 0
无法同时向相同的节点添加关系。在同一节点上的并行写操作将始终导致序列化错误。
英文:
It is not possible to add relationships to the same nodes in parallel. The simultaneous write operations on the same node will always result in a serialization error.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论