VGalaxies commented on code in PR #2301:
URL:
https://github.com/apache/incubator-hugegraph/pull/2301#discussion_r1325430891
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/StandardHugeGraph.java:
##########
@@ -453,9 +458,25 @@ private void clearVertexCache() {
}
}
- private SchemaTransaction openSchemaTransaction() throws HugeException {
+ private boolean isHstore() {
+ return this.storeProvider.isHstore();
+ }
+
+ private void initMetaManager() {
+ this.metaManager.connect("hg", MetaManager.MetaDriverType.PD,
Review Comment:
考虑在 StandardHugeGraph 构造函数中初始化 meta manager
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/StandardHugeGraph.java:
##########
@@ -453,9 +458,25 @@ private void clearVertexCache() {
}
}
- private SchemaTransaction openSchemaTransaction() throws HugeException {
+ private boolean isHstore() {
+ return this.storeProvider.isHstore();
+ }
+
+ private void initMetaManager() {
+ this.metaManager.connect("hg", MetaManager.MetaDriverType.PD,
Review Comment:
考虑在 StandardHugeGraph 构造函数中初始化 meta manager
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]