OrientDB 中具有相同@rid 的重复边
Duplicated edges with the same @rid in OrientDB
我在使用 OrientDB (community-2.1-rc5) 查询边缘 class 时发现了一个奇怪的行为。数据库返回完全相同的边,具有完全相同的@rid 和完全相同的数据,两次。我的直觉告诉我这是一个错误...
这是查询
SELECT FROM E WHERE @class='LIKES' AND (out IN [#12:0,#12:221]) AND in=#36:1913
这就是 orientDB studio returns
http://s29.postimg.org/hwruv0zif/Captura.png
这毫无意义。如果我转到顶点并查询 LIKES 关系,它只有 returns 一个注册表...有人遇到过这样的问题吗?
如果有帮助,这就是我正在使用的数据库
https://www.dropbox.com/sh/pkm28cfer1pwpqb/AAAVGeL1eftOGR4o0todTiAha?dl=0
要获得有关此错误的帮助,您应该申请加入 google 组。 Whosebug 不是获得此类错误帮助的最佳场所。
问题是你以某种方式错误地复制了你的边缘。 Orientdb 出于某种未知原因让您这样做。
这里是 orientdb google 组的错误讨论:https://groups.google.com/forum/#!topic/orient-database/cAR7yUjCZcI
在讨论中 Luca(orientdb 的创建者)这样说:
"the problem is that without a transaction the creation of edge could
be dirty. OrientDB tries to fix dirty reference, so maybe that's the
reason why the next time the exception is raised. I've changed the
default behavior of all SQL commands against Graphs to be always
transactional"
最好升级到最新版本的 orientdb。也许错误已经修复。
我在使用 OrientDB (community-2.1-rc5) 查询边缘 class 时发现了一个奇怪的行为。数据库返回完全相同的边,具有完全相同的@rid 和完全相同的数据,两次。我的直觉告诉我这是一个错误...
这是查询
SELECT FROM E WHERE @class='LIKES' AND (out IN [#12:0,#12:221]) AND in=#36:1913
这就是 orientDB studio returns
http://s29.postimg.org/hwruv0zif/Captura.png
这毫无意义。如果我转到顶点并查询 LIKES 关系,它只有 returns 一个注册表...有人遇到过这样的问题吗?
如果有帮助,这就是我正在使用的数据库
https://www.dropbox.com/sh/pkm28cfer1pwpqb/AAAVGeL1eftOGR4o0todTiAha?dl=0
要获得有关此错误的帮助,您应该申请加入 google 组。 Whosebug 不是获得此类错误帮助的最佳场所。
问题是你以某种方式错误地复制了你的边缘。 Orientdb 出于某种未知原因让您这样做。
这里是 orientdb google 组的错误讨论:https://groups.google.com/forum/#!topic/orient-database/cAR7yUjCZcI
在讨论中 Luca(orientdb 的创建者)这样说:
"the problem is that without a transaction the creation of edge could
be dirty. OrientDB tries to fix dirty reference, so maybe that's the
reason why the next time the exception is raised. I've changed the
default behavior of all SQL commands against Graphs to be always
transactional"
最好升级到最新版本的 orientdb。也许错误已经修复。