mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
14 lines
254 B
C++
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);
|
|
}
|
|
|
|
}
|