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/10/13 15:05:18 UTC
[GitHub] [incubator-hugegraph] javeme commented on a diff in pull request #1975: fix(api): fix remoting rpc server not started
javeme commented on code in PR #1975:
URL: https://github.com/apache/incubator-hugegraph/pull/1975#discussion_r994771038
##########
hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java:
##########
@@ -308,6 +308,9 @@ private com.alipay.remoting.rpc.RpcServer remotingRpcServer() {
ServerConfig serverConfig = Whitebox.getInternalState(this.rpcServer,
"serverConfig");
serverConfig.buildIfAbsent();
+ if (!serverConfig.getServer().isStarted()) {
+ serverConfig.getServer().start();
Review Comment:
it goes here only when raft mode enabled
--
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