You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
在使用1.4.1版本的OGM,运行自带的Test,链接4.0.1版本的TuGraph时,遇到超时问题,Debug后发现生成的Cypher语句长时间执行,未反馈结果:
Steps to reproduce the behavior:
1.打开OGM的Test文件:tugraph-db-client-java/ogm/tugraph-db-ogm-test/src/main/java/test/TestBase.java
2. 配置对应图数据库URL、用户名、密码、并执行用例:
3. 程序跑到170行这个位置发生超时错误:session.save(movie);
4. 错误堆栈如下:
Exception in thread "main" java.lang.RuntimeException: com.antgroup.tugraph.TuGraphDbRpcException: Task killed.
at com.antgroup.tugraph.ogm.drivers.rpc.request.RpcRequest.executeRequest(RpcRequest.java:345)
at com.antgroup.tugraph.ogm.drivers.rpc.request.RpcRequest.execute(RpcRequest.java:106)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.executeStatements(RequestExecutor.java:131)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.lambda$executeSave$2(RequestExecutor.java:97)
at com.antgroup.tugraph.ogm.session.Neo4jSession.lambda$doInTransaction$1(Neo4jSession.java:553)
at com.antgroup.tugraph.ogm.session.Neo4jSession.doInTransaction(Neo4jSession.java:585)
at com.antgroup.tugraph.ogm.session.Neo4jSession.doInTransaction(Neo4jSession.java:552)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.executeSave(RequestExecutor.java:80)
at com.antgroup.tugraph.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:90)
at com.antgroup.tugraph.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:51)
at com.antgroup.tugraph.ogm.session.Neo4jSession.save(Neo4jSession.java:475)
at com.antgroup.openspg.reasoner.runner.local.Client.testCreate(Client.java:115)
at com.antgroup.openspg.reasoner.runner.local.Client.main(Client.java:79)
Expected behavior
期望运行成功,成功写入数据库端
Screenshots
If applicable, add screenshots to help explain your problem.
MATCH (startNode0),(endNode0),(startNode1),(endNode1) WHERE id(startNode0) = 74677 AND id(endNode0) = 74676 AND id(startNode1) = 74678 AND id(endNode1) = 74676 MERGE (startNode0)-[rel0:ACTS_IN]->(endNode0) MERGE (startNode1)-[rel1:ACTS_IN]->(endNode1)
The text was updated successfully, but these errors were encountered:
Describe the bug
在使用1.4.1版本的OGM,运行自带的Test,链接4.0.1版本的TuGraph时,遇到超时问题,Debug后发现生成的Cypher语句长时间执行,未反馈结果:
Steps to reproduce the behavior:
1.打开OGM的Test文件:tugraph-db-client-java/ogm/tugraph-db-ogm-test/src/main/java/test/TestBase.java
2. 配置对应图数据库URL、用户名、密码、并执行用例:
3. 程序跑到170行这个位置发生超时错误:session.save(movie);
4. 错误堆栈如下:
Exception in thread "main" java.lang.RuntimeException: com.antgroup.tugraph.TuGraphDbRpcException: Task killed.
at com.antgroup.tugraph.ogm.drivers.rpc.request.RpcRequest.executeRequest(RpcRequest.java:345)
at com.antgroup.tugraph.ogm.drivers.rpc.request.RpcRequest.execute(RpcRequest.java:106)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.executeStatements(RequestExecutor.java:131)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.lambda$executeSave$2(RequestExecutor.java:97)
at com.antgroup.tugraph.ogm.session.Neo4jSession.lambda$doInTransaction$1(Neo4jSession.java:553)
at com.antgroup.tugraph.ogm.session.Neo4jSession.doInTransaction(Neo4jSession.java:585)
at com.antgroup.tugraph.ogm.session.Neo4jSession.doInTransaction(Neo4jSession.java:552)
at com.antgroup.tugraph.ogm.session.request.RequestExecutor.executeSave(RequestExecutor.java:80)
at com.antgroup.tugraph.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:90)
at com.antgroup.tugraph.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:51)
at com.antgroup.tugraph.ogm.session.Neo4jSession.save(Neo4jSession.java:475)
at com.antgroup.openspg.reasoner.runner.local.Client.testCreate(Client.java:115)
at com.antgroup.openspg.reasoner.runner.local.Client.main(Client.java:79)
Expected behavior
期望运行成功,成功写入数据库端
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Additional context
Debug后的生成的Cypher如下,直接在客户端执行,界面直接挂住;
MATCH (startNode0),(endNode0),(startNode1),(endNode1) WHERE id(startNode0) = 74677 AND id(endNode0) = 74676 AND id(startNode1) = 74678 AND id(endNode1) = 74676 MERGE (startNode0)-[rel0:ACTS_IN]->(endNode0) MERGE (startNode1)-[rel1:ACTS_IN]->(endNode1)
The text was updated successfully, but these errors were encountered: