You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/04/25 08:06:01 UTC

[GitHub] [incubator-hugegraph] javeme commented on a diff in pull request #1533: Add system schema store

javeme commented on code in PR #1533:
URL: https://github.com/apache/incubator-hugegraph/pull/1533#discussion_r857353669


##########
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraStore.java:
##########
@@ -670,5 +670,45 @@ public long getCounter(HugeType type) {
         public boolean isSchemaStore() {
             return false;
         }
+
+        public CassandraSessionPool.Session getSession() {
+            return super.sessions.session();
+        }
+    }
+
+    public static class CassandraSystemStore extends CassandraGraphStore {

Review Comment:
   prefer to add  `CassandraMetaStore extends CassandraStore` and it don't need to call registerTableManager(HugeType.VERTEX,...), since tasks data in CassandraSystemStore need to be truncate.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org