-
Notifications
You must be signed in to change notification settings - Fork 3.7k
branch-4.0: [fix](cloud) Not print too much peer read err log #59354 #60256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+10
−11
Conversation
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
### What problem does this PR solve?
Not print stack when peer read meet err
```
W20251225 11:05:21.592509 399889 status.h:445] meet error status: [INTERNAL_ERROR]PStatus: read cache file error
0# doris::Status doris::Status::create<true>(doris::PStatus const&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:187
1# doris::io::PeerFileCacheReader::fetch_blocks(std::vector<std::shared_ptr<doris::io::FileBlock>, std::allocator<std::shared_ptr<doris::io::FileBlock> > > const&, unsigned long, doris::Slice, unsigned long*, unsigned long, doris::io::IOContext const*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/io/cache/peer_file_cache
_reader.cpp:0
2# doris::io::(anonymous namespace)::execute_peer_read(std::vector<std::shared_ptr<doris::io::FileBlock>, std::allocator<std::shared_ptr<doris::io::FileBlock> > > const&, unsigned long, unsigned long&, std::unique_ptr<char [], std::default_delete<char []> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, bool, doris::io::ReadStatistics&, doris::io::IOContext const*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
3# doris::io::CachedRemoteFileReader::_execute_remote_read(std::vector<std::shared_ptr<doris::io::FileBlock>, std::allocator<std::shared_ptr<doris::io::FileBlock> > > const&, unsigned long, unsigned long&, std::unique_ptr<char [], std::default_delete<char []> >&, doris::io::ReadStatistics&, doris::io::IOContext const*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/io/cache/cached_remote_file_reader.cpp:270
4# doris::io::CachedRemoteFileReader::read_at_impl(unsigned long, doris::Slice, unsigned long*, doris::io::IOContext const*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
5# doris::io::FileReader::read_at(unsigned long, doris::Slice, unsigned long*, doris::io::IOContext const*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
6# doris::segment_v2::PageIO::read_and_decompress_page_(doris::segment_v2::PageReadOptions const&, doris::segment_v2::PageHandle*, doris::Slice*, doris::segment_v2::PageFooterPB*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
7# doris::segment_v2::PageIO::do_read_and_decompress_page(doris::segment_v2::PageReadOptions const&, doris::segment_v2::PageHandle*, doris::Slice*, doris::segment_v2::PageFooterPB*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/olap/rowset/segment_v2/page_io.h:157
8# doris::segment_v2::PageIO::read_and_decompress_page(doris::segment_v2::PageReadOptions const&, doris::segment_v2::PageHandle*, doris::Slice*, doris::segment_v2::PageFooterPB*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:501
9# doris::segment_v2::FileColumnIterator::_read_data_page(doris::segment_v2::OrdinalPageIndexIterator const&) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/olap/rowset/segment_v2/column_reader.cpp:0
10# doris::segment_v2::FileColumnIterator::_load_next_page(bool*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
11# doris::segment_v2::FileColumnIterator::next_batch(unsigned long*, COW<doris::vectorized::IColumn>::mutable_ptr<doris::vectorized::IColumn>&, bool*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
12# doris::segment_v2::SegmentIterator::_read_columns_by_index(unsigned int, unsigned int&, bool) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
13# doris::segment_v2::SegmentIterator::_next_batch_internal(doris::vectorized::Block*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
14# doris::segment_v2::SegmentIterator::next_batch(doris::vectorized::Block*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
15# doris::vectorized::VerticalMergeIteratorContext::_load_next_block() at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
16# doris::vectorized::VerticalHeapMergeIterator::next_batch(doris::vectorized::Block*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
17# doris::vectorized::VerticalBlockReader::_direct_next_block(doris::vectorized::Block*, bool*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
18# doris::vectorized::VerticalBlockReader::next_block_with_aggregation(doris::vectorized::Block*, bool*) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h:907
19# doris::Merger::vertical_compact_one_group(std::shared_ptr<doris::BaseTablet>, doris::ReaderType, doris::TabletSchema const&, bool, std::vector<unsigned int, std::allocator<unsigned int> > const&, doris::vectorized::RowSourcesBuffer*, std::vector<std::shared_ptr<doris::RowsetReader>, std::allocator<std::shared_ptr<doris::RowsetReader> > > const&, doris::RowsetWriter*, long, doris::Merger::Statistics*, std::vector<unsigned int, std::allocator<unsigned int> >, long, doris::CompactionSampleInfo*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/olap/merger.cpp:0
20# doris::Merger::vertical_merge_rowsets(std::shared_ptr<doris::BaseTablet>, doris::ReaderType, doris::TabletSchema const&, std::vector<std::shared_ptr<doris::RowsetReader>, std::allocator<std::shared_ptr<doris::RowsetReader> > > const&, doris::RowsetWriter*, long, long, doris::Merger::Statistics*) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/olap/merger.cpp:481
21# doris::Compaction::merge_input_rowsets() at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/olap/compaction.cpp:204
22# doris::CloudCompactionMixin::execute_compact_impl(long) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
23# doris::CloudCompactionMixin::execute_compact() at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:506
24# doris::CloudBaseCompaction::execute_compact() at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:392
25# std::_Function_handler<void (), doris::CloudStorageEngine::_submit_base_compaction_task(std::shared_ptr<doris::CloudTablet> const&)::$_0>::_M_invoke(std::_Any_data const&) at /mnt/disk3/pipeline/repo/selectdb-core_branch-hotfix-selectdb-doris-3.1-c/selectdb-core/be/src/common/status.h:392
26# doris::ThreadPool::dispatch_thread() at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:730
27# doris::Thread::supervise_thread(void*) at /var/local/ldb-toolchain/bin/../usr/include/pthread.h:562
28# ?
29# ?
```
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
|
run buildall |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
yiguolei
approved these changes
Jan 28, 2026
Contributor
Author
|
PR approved by at least one committer and no changes requested. |
Contributor
Author
|
PR approved by anyone and no changes requested. |
Contributor
|
skip buildall |
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-picked from #59354