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 be6210d742e branch-2.1: [improve](load) improve error message "unknown 
load_id" #47509 (#48639)
be6210d742e is described below

commit be6210d742e409a59c5cb79989d264df67a2b8de
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Mar 5 10:11:24 2025 +0800

    branch-2.1: [improve](load) improve error message "unknown load_id" #47509 
(#48639)
    
    Cherry-picked from #47509
    
    Co-authored-by: Kaijie Chen <chenkai...@selectdb.com>
---
 be/src/runtime/load_channel_mgr.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/be/src/runtime/load_channel_mgr.cpp 
b/be/src/runtime/load_channel_mgr.cpp
index d236645b1fe..3e4a9c658b2 100644
--- a/be/src/runtime/load_channel_mgr.cpp
+++ b/be/src/runtime/load_channel_mgr.cpp
@@ -122,8 +122,10 @@ Status 
LoadChannelMgr::_get_load_channel(std::shared_ptr<LoadChannel>& channel,
                 return Status::OK();
             }
         }
-        return Status::InternalError("fail to add batch in load channel. 
unknown load_id={}",
-                                     load_id.to_string());
+        return Status::InternalError<false>(
+                "Fail to add batch in load channel: unknown load_id={}. "
+                "This may be due to a BE restart. Please retry the load.",
+                load_id.to_string());
     }
     channel = it->second;
     return Status::OK();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to