From be6210d742e409a59c5cb79989d264df67a2b8de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Mar 2025 10:11:24 +0800 Subject: [PATCH] branch-2.1: [improve](load) improve error message "unknown load_id" #47509 (#48639) Cherry-picked from #47509 Co-authored-by: Kaijie Chen --- 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 d236645b1f..3e4a9c658b 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& channel, return Status::OK(); } } - return Status::InternalError("fail to add batch in load channel. unknown load_id={}", - load_id.to_string()); + return Status::InternalError( + "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();