diff --git a/src/protocol/network_server.cpp b/src/protocol/network_server.cpp index 7a2f51c4..55c5be0f 100644 --- a/src/protocol/network_server.cpp +++ b/src/protocol/network_server.cpp @@ -834,7 +834,7 @@ static void on_health_check_done(pb::StoreRes* response, brpc::Controller* cntl, pb::Status new_status = pb::NORMAL; if (cntl->Failed()) { if (cntl->ErrorCode() == brpc::ERPCTIMEDOUT || - cntl->ErrorCode() == ETIMEDOUT || cntl->ErrorCode() == EHOSTDOWN) { + cntl->ErrorCode() == ETIMEDOUT) { new_status = pb::DEAD; DB_WARNING("addr:%s is dead(hang), need rpc cancel, errcode:%d, error:%s", addr.c_str(), cntl->ErrorCode(), cntl->ErrorText().c_str());