This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 24821f5a8aa branch-3.0: [improve](load) improve error message "unknown
load_id" #47509 (#48638)
24821f5a8aa is described below
commit 24821f5a8aa63c7a33d3ec718e89306cacdcae9a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 10 21:00:21 2025 +0800
branch-3.0: [improve](load) improve error message "unknown load_id" #47509
(#48638)
Cherry-picked from #47509
Co-authored-by: Kaijie Chen <[email protected]>
---
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 c53cade466b..014fa146e3c 100644
--- a/be/src/runtime/load_channel_mgr.cpp
+++ b/be/src/runtime/load_channel_mgr.cpp
@@ -126,8 +126,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: [email protected]
For additional commands, e-mail: [email protected]