This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 294157dafcd [fix](core) fix closure use after release #38087 (#38094)
294157dafcd is described below

commit 294157dafcd8bdbb30fae953063f8b5e54cb7b29
Author: Mryange <[email protected]>
AuthorDate: Thu Jul 18 22:44:30 2024 +0800

    [fix](core) fix closure use after release #38087 (#38094)
    
    ## Proposed changes
    https://github.com/apache/doris/pull/38087
    <!--Describe your changes.-->
---
 be/src/service/internal_service.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/be/src/service/internal_service.cpp 
b/be/src/service/internal_service.cpp
index c831193eea9..3c944ac27d0 100644
--- a/be/src/service/internal_service.cpp
+++ b/be/src/service/internal_service.cpp
@@ -1933,11 +1933,6 @@ void 
PInternalServiceImpl::_response_pull_slave_rowset(const std::string& remote
 
     pull_rowset_callback->join();
     if (pull_rowset_callback->cntl_->Failed()) {
-        if 
(!ExecEnv::GetInstance()->brpc_internal_client_cache()->available(stub, 
remote_host,
-                                                                             
brpc_port)) {
-            ExecEnv::GetInstance()->brpc_internal_client_cache()->erase(
-                    closure->cntl_->remote_side());
-        }
         LOG(WARNING) << "failed to response result of slave replica to master 
replica, error="
                      << berror(pull_rowset_callback->cntl_->ErrorCode())
                      << ", error_text=" << 
pull_rowset_callback->cntl_->ErrorText()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to