You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/06 12:45:38 UTC
[GitHub] [doris] zhannngchen commented on a diff in pull request #12360: [Enhancement](log) improve error msg for delta writer fail (#12121)
zhannngchen commented on code in PR #12360:
URL: https://github.com/apache/doris/pull/12360#discussion_r963661600
##########
be/src/runtime/tablets_channel.cpp:
##########
@@ -375,8 +375,10 @@ Status TabletsChannel::add_batch(const TabletWriterAddRequest& request,
Status st = tablet_writer_it->second->write(&send_data, tablet_to_rowidxs_it.second);
if (!st.ok()) {
auto err_msg = strings::Substitute(
- "tablet writer write failed, tablet_id=$0, txn_id=$1, err=$2",
- tablet_to_rowidxs_it.first, _txn_id, st.code());
+ "tablet writer write failed, tablet_id=$0, txn_id=$1, err=$2"
+ ", errcode=$3, msg:$4",
Review Comment:
errcode -> precise_code might be better?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org