diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/GraphTransaction.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/GraphTransaction.java index 10aa73f71..ef155e172 100644 --- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/GraphTransaction.java +++ b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/GraphTransaction.java @@ -627,6 +627,7 @@ public class GraphTransaction extends IndexableTransaction { * unconcerned with add vertex */ this.beforeWrite(); + //todo This is where the transaction feature needs to be added this.addedVertices.put(vertex.id(), vertex); this.afterWrite(); } catch (Throwable e) { @@ -2220,3 +2221,4 @@ public class GraphTransaction extends IndexableTransaction { this.store().removeOlapTable(pkId); } } +