ClickHouse/src/Coordination/NuKeeperServer.cpp
2021-01-21 23:01:25 +03:00

14 lines
254 B
C++

#include <Coordination/NuKeeperServer.h>
namespace DB
{
void NuKeeperServer::addServer(int server_id_, const std::string & server_uri)
{
if (raft_instance->is_leader())
{
nuraft::srv_config first_config(server_id, server_uri);
}
}