From 30ab4b3a7fd9593cc1ea6ccb0b99d05e2f24758a Mon Sep 17 00:00:00 2001 From: alesapin Date: Sat, 30 Oct 2021 16:02:05 +0300 Subject: [PATCH] Update KeeperTCPHandler.cpp --- src/Server/KeeperTCPHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server/KeeperTCPHandler.cpp b/src/Server/KeeperTCPHandler.cpp index 7ea33cb3558..17a13955043 100644 --- a/src/Server/KeeperTCPHandler.cpp +++ b/src/Server/KeeperTCPHandler.cpp @@ -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";