mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Update KeeperTCPHandler.cpp
This commit is contained in:
parent
40bffcec3a
commit
30ab4b3a7f
@ -307,7 +307,7 @@ void KeeperTCPHandler::runImpl()
|
||||
else
|
||||
{
|
||||
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";
|
||||
else if (!keeper_dispatcher->checkInit())
|
||||
reason = "server is not initialized yet";
|
||||
|
Loading…
Reference in New Issue
Block a user