This commit is contained in:
Pavel Kruglov 2021-02-17 22:07:14 +03:00
parent e19f62f645
commit 80b6db7f72
2 changed files with 1 additions and 4 deletions

View File

@ -24,9 +24,6 @@ namespace DB
namespace ErrorCodes namespace ErrorCodes
{ {
extern const int ATTEMPT_TO_READ_AFTER_EOF;
extern const int NETWORK_ERROR;
extern const int SOCKET_TIMEOUT;
extern const int LOGICAL_ERROR; extern const int LOGICAL_ERROR;
} }

View File

@ -238,7 +238,7 @@ void HedgedConnectionsFactory::processConnectionEstablisherStage(int index, bool
void HedgedConnectionsFactory::processFailedConnection(int index, bool remove_from_epoll) void HedgedConnectionsFactory::processFailedConnection(int index, bool remove_from_epoll)
{ {
ConnectionEstablisher & connection_establisher = replicas[index].connection_establisher; ConnectionEstablisher & connection_establisher = replicas[index].connection_establisher;
if (remove_from_epoll) if (remove_from_epoll)
removeReplicaFromEpoll(index); removeReplicaFromEpoll(index);