mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update KeeperTCPHandler.cpp
This commit is contained in:
parent
40bffcec3a
commit
30ab4b3a7f
@ -307,7 +307,7 @@ void KeeperTCPHandler::runImpl()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
String reason;
|
String reason;
|
||||||
if (!keeper_dispatcher->checkInit() && !keeper_dispathcer->hasLeader())
|
if (!keeper_dispatcher->checkInit() && !keeper_dispatcher->hasLeader())
|
||||||
reason = "server is not initialized yet and no alive leader exists";
|
reason = "server is not initialized yet and no alive leader exists";
|
||||||
else if (!keeper_dispatcher->checkInit())
|
else if (!keeper_dispatcher->checkInit())
|
||||||
reason = "server is not initialized yet";
|
reason = "server is not initialized yet";
|
||||||
|
Loading…
Reference in New Issue
Block a user