[Chore](status) Disable stack trace printing for NotFound error status #40470#40592
Merged
airborne12 merged 1 commit intoapache:branch-3.0from Sep 10, 2024
Merged
Conversation
apache#40470) ## Proposed changes Fix annoying error log message like this ``` meet error status: [NOT_FOUND] 0# doris::io::S3ObjStorageClient::head_object(doris::io::ObjectStoragePathOptions const&) at /root/doris/be/src/common/status.h:0 1# doris::io::S3FileSystem::exists_impl(std::filesystem::__cxx11::path const&, bool*) const at /root/doris/be/src/io/fs/s3_file_system.cpp:264 2# doris::io::FileSystem::exists(std::filesystem::__cxx11::path const&, bool*) const at /root/doris/be/src/common/status.h:387 3# doris::segment_v2::DorisFSDirectory::createOutput(char const*) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/fs_path.h:310 4# doris::segment_v2::InvertedIndexFileWriter::write_v2() at /root/doris/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:0 5# doris::segment_v2::InvertedIndexFileWriter::close() at /root/doris/be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:140 6# doris::segment_v2::VerticalSegmentWriter::_write_inverted_index() at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:0 7# doris::segment_v2::VerticalSegmentWriter::finalize_columns_index(unsigned long*) at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:0 8# doris::segment_v2::VerticalSegmentWriter::finalize(unsigned long*, unsigned long*) at /root/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:1047 ```
Member
Author
|
run buildall |
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cherry pick from #40470