Skip to content

Commit

Permalink
Update Server.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hehechen authored Jun 29, 2022
1 parent 793cbe1 commit fe21444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ class Server::FlashGrpcServerHolder
flash_grpc_server = builder.BuildAndStart();
if (!flash_grpc_server)
{
throw Exception("Exception happens when start grpc server, the flash.service_addr may be wrong, flash.service_addr is " + raft_config.flash_server_addr, ErrorCodes::IP_ADDRESS_NOT_ALLOWED);
throw Exception("Exception happens when start grpc server, the flash.service_addr may be invalid, flash.service_addr is " + raft_config.flash_server_addr, ErrorCodes::IP_ADDRESS_NOT_ALLOWED);
}
LOG_FMT_INFO(log, "Flash grpc server listening on [{}]", raft_config.flash_server_addr);
Debug::setServiceAddr(raft_config.flash_server_addr);
Expand Down

0 comments on commit fe21444

Please sign in to comment.