diff --git a/be/src/util/brpc_client_cache.h b/be/src/util/brpc_client_cache.h index 068803ceee0e35..a91293db2484ab 100644 --- a/be/src/util/brpc_client_cache.h +++ b/be/src/util/brpc_client_cache.h @@ -92,7 +92,7 @@ class FailureDetectClosure : public ::google::protobuf::Closure { // If some non-recoverable rpc failure happens, it will save the error status in // _channel_st. // And brpc client cache will depend on it to detect if the client is health. -class FailureDetectChannel : ::brpc::Channel { +class FailureDetectChannel : public ::brpc::Channel { public: FailureDetectChannel() : ::brpc::Channel() { _channel_st = std::make_shared(); // default OK