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
As transactional remote sql commands arent supported, as such the move vertex command, we die create code which does move a vertex via tinkerpop. If we don't remove the edges of the vertices, which according to the documentation shouldn't be neccessary, we get the following error:
2015-07-10 15:17:47 INFO DeactivateNodeVertex:23 - Deactivating Parent_Vertex p1: v(Parent_Vertex)[#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:27 - Created History_Parent_Vertex:v(Hist_Parent_Vertex)[#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-8][#22:0-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:16][#22:0-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-9][#22:1-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:17][#22:1-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-10][#22:2-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:18][#22:2-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:19][#21:5-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:58 - neuer Parent_Vertex out edge: e[#-1:-12][#-1:-7-belongsTo->#16:0]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:71 - delete Parent_Vertex out edge: e[#27:14][#19:2-belongsTo->#16:0]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:75 - Deleting Parent_Vertex: v(Parent_Vertex)[#19:2]
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:171 - after NodePipe
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:194 - before realPipe
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:24 - Deactivating Child_Vertex c1: v(Child_Vertex)[#21:5]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:28 - Created History_Child_Vertex:v(Hist_Child_Vertex)[#-1:-13]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-14][#-1:-13-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-15][#-1:-13-alterIch->#22:2]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:76 - Deleting Child_Vertex: v(Child_Vertex)[#21:5]
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:205 - after realPipe
2015-07-10 15:17:47 ERROR ProcessGetserverdataTest:104 - Error in Test Prd_7!
com.orientechnologies.common.directmemory.ODirectMemoryViolationException: Negative offset was provided
at com.orientechnologies.common.directmemory.ODirectMemoryPointer.rangeCheck(ODirectMemoryPointer.java:209)
at com.orientechnologies.common.directmemory.ODirectMemoryPointer.getByte(ODirectMemoryPointer.java:140)
at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OWALChangesTree.getByteValue(OWALChangesTree.java:34)
at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getByteValue(ODurablePage.java:136)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMapBucket.get(OClusterPositionMapBucket.java:74)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMap.get(OClusterPositionMap.java:233)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.getPhysicalPosition(OPaginatedCluster.java:952)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doDeleteRecord(OAbstractPaginatedStorage.java:1604)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.deleteRecord(OAbstractPaginatedStorage.java:770)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:1981)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:922)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2433)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2403)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1092)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:394)
at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)
For Comparison, the output when we remove the edges manually:
2015-07-10 15:16:46 INFO DeactivateNodeVertex:23 - Deactivating Parent_Vertex p1: v(Parent_Vertex)[#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:27 - Created History_Parent_Vertex:v(Hist_Parent_Vertex)[#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-8][#22:0-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:16][#22:0-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-9][#22:1-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:17][#22:1-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-10][#22:2-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:18][#22:2-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:19][#21:5-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:58 - neuer Parent_Vertex out edge: e[#-1:-12][#-1:-7-belongsTo->#16:0]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:71 - delete Parent_Vertex out edge: e[#27:14][#19:2-belongsTo->#16:0]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:75 - Deleting Parent_Vertex: v(Parent_Vertex)[#19:2]
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:171 - after NodePipe
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:194 - before realPipe
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:24 - Deactivating Child_Vertex c1: v(Child_Vertex)[#21:5]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:28 - Created History_Child_Vertex:v(Hist_Child_Vertex)[#-1:-13]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-14][#-1:-13-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:72 - delete Child_Vertex out edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-15][#-1:-13-alterIch->#22:2]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:72 - delete Child_Vertex out edge: e[#30:1][#21:5-alterIch->#22:2]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:76 - Deleting Child_Vertex: v(Child_Vertex)[#21:5]
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:205 - after realPipe
2015-07-10 15:16:46 INFO ProcessGetserverdataTest:107 - leaving Prd_7
OrientDB Version 2.0.12
As transactional remote sql commands arent supported, as such the move vertex command, we die create code which does move a vertex via tinkerpop. If we don't remove the edges of the vertices, which according to the documentation shouldn't be neccessary, we get the following error:
2015-07-10 15:17:47 INFO DeactivateNodeVertex:23 - Deactivating Parent_Vertex p1: v(Parent_Vertex)[#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:27 - Created History_Parent_Vertex:v(Hist_Parent_Vertex)[#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-8][#22:0-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:16][#22:0-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-9][#22:1-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:17][#22:1-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-10][#22:2-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:18][#22:2-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:19][#21:5-belongsTo->#19:2]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:58 - neuer Parent_Vertex out edge: e[#-1:-12][#-1:-7-belongsTo->#16:0]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:71 - delete Parent_Vertex out edge: e[#27:14][#19:2-belongsTo->#16:0]
2015-07-10 15:17:47 INFO DeactivateNodeVertex:75 - Deleting Parent_Vertex: v(Parent_Vertex)[#19:2]
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:171 - after NodePipe
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:194 - before realPipe
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:24 - Deactivating Child_Vertex c1: v(Child_Vertex)[#21:5]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:28 - Created History_Child_Vertex:v(Hist_Child_Vertex)[#-1:-13]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-14][#-1:-13-belongsTo->#-1:-7]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-15][#-1:-13-alterIch->#22:2]
2015-07-10 15:17:47 INFO DeactivateAppserverVertex:76 - Deleting Child_Vertex: v(Child_Vertex)[#21:5]
2015-07-10 15:17:47 INFO MergeJsonIntoGraph:205 - after realPipe
2015-07-10 15:17:47 ERROR ProcessGetserverdataTest:104 - Error in Test Prd_7!
com.orientechnologies.common.directmemory.ODirectMemoryViolationException: Negative offset was provided
at com.orientechnologies.common.directmemory.ODirectMemoryPointer.rangeCheck(ODirectMemoryPointer.java:209)
at com.orientechnologies.common.directmemory.ODirectMemoryPointer.getByte(ODirectMemoryPointer.java:140)
at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OWALChangesTree.getByteValue(OWALChangesTree.java:34)
at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getByteValue(ODurablePage.java:136)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMapBucket.get(OClusterPositionMapBucket.java:74)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMap.get(OClusterPositionMap.java:233)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.getPhysicalPosition(OPaginatedCluster.java:952)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doDeleteRecord(OAbstractPaginatedStorage.java:1604)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.deleteRecord(OAbstractPaginatedStorage.java:770)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:1981)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:922)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2433)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2403)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1092)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:394)
at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)
For Comparison, the output when we remove the edges manually:
2015-07-10 15:16:46 INFO DeactivateNodeVertex:23 - Deactivating Parent_Vertex p1: v(Parent_Vertex)[#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:27 - Created History_Parent_Vertex:v(Hist_Parent_Vertex)[#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-8][#22:0-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:16][#22:0-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-9][#22:1-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:17][#22:1-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-10][#22:2-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:18][#22:2-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:38 - neuer Parent_Vertex in edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:51 - delete Parent_Vertex in edge: e[#27:19][#21:5-belongsTo->#19:2]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:58 - neuer Parent_Vertex out edge: e[#-1:-12][#-1:-7-belongsTo->#16:0]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:71 - delete Parent_Vertex out edge: e[#27:14][#19:2-belongsTo->#16:0]
2015-07-10 15:16:46 INFO DeactivateNodeVertex:75 - Deleting Parent_Vertex: v(Parent_Vertex)[#19:2]
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:171 - after NodePipe
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:194 - before realPipe
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:24 - Deactivating Child_Vertex c1: v(Child_Vertex)[#21:5]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:28 - Created History_Child_Vertex:v(Hist_Child_Vertex)[#-1:-13]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-14][#-1:-13-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:72 - delete Child_Vertex out edge: e[#-1:-11][#21:5-belongsTo->#-1:-7]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:59 - neuer Child_Vertex out edge: e[#-1:-15][#-1:-13-alterIch->#22:2]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:72 - delete Child_Vertex out edge: e[#30:1][#21:5-alterIch->#22:2]
2015-07-10 15:16:46 INFO DeactivateAppserverVertex:76 - Deleting Child_Vertex: v(Child_Vertex)[#21:5]
2015-07-10 15:16:46 INFO MergeJsonIntoGraph:205 - after realPipe
2015-07-10 15:16:46 INFO ProcessGetserverdataTest:107 - leaving Prd_7
And the code:
The text was updated successfully, but these errors were encountered: