You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/05/15 16:44:24 UTC

[GitHub] [incubator-hugegraph] Linary opened a new pull request, #1533: Add system schema store

Linary opened a new pull request, #1533:
URL: https://github.com/apache/incubator-hugegraph/pull/1533

   Change-Id: I2feabace71f266d6be6c2094c30cd19f74ab7f7d


-- 
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: commits-unsubscribe@hugegraph.apache.org

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


[GitHub] [incubator-hugegraph] javeme closed pull request #1533: Add system schema store

Posted by GitBox <gi...@apache.org>.
javeme closed pull request #1533: Add system schema store
URL: https://github.com/apache/incubator-hugegraph/pull/1533


-- 
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: commits-unsubscribe@hugegraph.apache.org

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


[GitHub] [incubator-hugegraph] Linary closed pull request #1533: Add system schema store

Posted by GitBox <gi...@apache.org>.
Linary closed pull request #1533: Add system schema store
URL: https://github.com/apache/incubator-hugegraph/pull/1533


-- 
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: commits-unsubscribe@hugegraph.apache.org

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


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

Posted by GitBox <gi...@apache.org>.
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