This is an automated email from the ASF dual-hosted git repository.
liaoxin 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 dc14701dc8a [improve](cloud) add error msg when abort stream load
transaction to meta service (#42148) (#42294)
dc14701dc8a is described below
commit dc14701dc8ade67e4a7cf9560d5b0b505077937a
Author: hui lai <[email protected]>
AuthorDate: Wed Oct 23 09:49:06 2024 +0800
[improve](cloud) add error msg when abort stream load transaction to meta
service (#42148) (#42294)
pick (#42148)
---
be/src/cloud/cloud_meta_mgr.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/cloud/cloud_meta_mgr.cpp b/be/src/cloud/cloud_meta_mgr.cpp
index 071c15d11e5..02497f6a044 100644
--- a/be/src/cloud/cloud_meta_mgr.cpp
+++ b/be/src/cloud/cloud_meta_mgr.cpp
@@ -880,6 +880,7 @@ Status CloudMetaMgr::abort_txn(const StreamLoadContext&
ctx) {
AbortTxnRequest req;
AbortTxnResponse res;
req.set_cloud_unique_id(config::cloud_unique_id);
+ req.set_reason(std::string(ctx.status.msg().substr(0, 1024)));
if (ctx.db_id > 0 && !ctx.label.empty()) {
req.set_db_id(ctx.db_id);
req.set_label(ctx.label);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]