You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/05/21 12:18:53 UTC
[doris] 03/04: [improvement](stacktrace) do not captute stack trace for txn error codes (#19817)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 2290e4e77e0a0575b1dd88ae343b9adbdf8c765a
Author: Yongqiang YANG <98...@users.noreply.github.com>
AuthorDate: Thu May 18 23:58:56 2023 +0800
[improvement](stacktrace) do not captute stack trace for txn error codes (#19817)
---
be/src/common/status.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/be/src/common/status.h b/be/src/common/status.h
index 466eabe395..fdaa0ca0a7 100644
--- a/be/src/common/status.h
+++ b/be/src/common/status.h
@@ -268,7 +268,12 @@ static constexpr bool capture_stacktrace() {
&& code != ErrorCode::ROWSET_RENAME_FILE_FAILED
&& code != ErrorCode::SEGCOMPACTION_INIT_READER
&& code != ErrorCode::SEGCOMPACTION_INIT_WRITER
- && code != ErrorCode::SEGCOMPACTION_FAILED;
+ && code != ErrorCode::SEGCOMPACTION_FAILED
+ && code != ErrorCode::PUSH_VERSION_ALREADY_EXIST
+ && code != ErrorCode::TRANSACTION_NOT_EXIST
+ && code != ErrorCode::TRANSACTION_ALREADY_VISIBLE
+ && code != ErrorCode::TOO_MANY_TRANSACTIONS
+ && code != ErrorCode::TRANSACTION_ALREADY_COMMITTED;
}
// clang-format on
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org