Skip to content

Commit

Permalink
Merge branch 'apache:master' into checkstyle-redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle-yuan authored Oct 24, 2022
2 parents 8cda2a0 + 9b5950e commit 868ee2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ private com.alipay.remoting.rpc.RpcServer remotingRpcServer() {
ServerConfig serverConfig = Whitebox.getInternalState(this.rpcServer,
"serverConfig");
serverConfig.buildIfAbsent();

// Start remote rpc server if none rpc services registered
// Note it goes here only when raft mode enabled
if (!serverConfig.getServer().isStarted()) {
serverConfig.getServer().start();
}
return Whitebox.getInternalState(serverConfig.getServer(),
"remotingServer");
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<hugegraph-rpc.version>2.0.1</hugegraph-rpc.version>
<hugegraph-common.version>2.1.2</hugegraph-common.version>
<grpc.version>1.47.0</grpc.version>
<protobuf.version>3.21.2</protobuf.version>
<protobuf.version>3.21.7</protobuf.version>
</properties>
<modules>
<module>hugegraph-core</module>
Expand Down

0 comments on commit 868ee2f

Please sign in to comment.