branch-3.1: [Fix](mow) Fix mow coreudmp in BaseTablet::get_rowset_by_ids() #55539#55601
Merged
morrySnow merged 1 commit intobranch-3.1from Sep 5, 2025
Merged
branch-3.1: [Fix](mow) Fix mow coreudmp in BaseTablet::get_rowset_by_ids() #55539#55601morrySnow merged 1 commit intobranch-3.1from
BaseTablet::get_rowset_by_ids() #55539#55601morrySnow merged 1 commit intobranch-3.1from
Conversation
) ### What problem does this PR solve? ``` *** Query id: 7b4f7bbcecef464c-81b65c1731e755ee *** *** is nereids: 0 *** *** tablet id: 1756432156986 *** *** Aborted at 1756473436 (unix time) try "date -d @1756473436" if you are using GNU date *** *** Current BE git commitID: d26c87d *** *** SIGSEGV unknown detail explain (@0x0) received by PID 333577 (TID 379616 OR 0x7fed07dd9640) from PID 0; stack trace: *** 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/common/signal_handler.h:421 1# PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] in /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so 2# JVM_handle_linux_signal in /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so 3# 0x00007FEE2C7EA520 in /lib/x86_64-linux-gnu/libc.so.6 4# std::_Hashtable<doris::RowsetId, doris::RowsetId, std::allocator<doris::RowsetId>, std::__detail::_Identity, std::equal_to<doris::RowsetId>, std::hash<doris::RowsetId>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::find(doris::RowsetId const&) const at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/hashtable.h:1587 5# doris::BaseTablet::get_rowset_by_ids(std::unordered_set<doris::RowsetId, std::hash<doris::RowsetId>, std::equal_to<doris::RowsetId>, std::allocator<doris::RowsetId> > const*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/base_tablet.cpp:440 6# doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/beta_rowset_writer.cpp:332 7# doris::BaseBetaRowsetWriter::add_segment(unsigned int, doris::SegmentStatistics const&, std::shared_ptr<doris::TabletSchema>) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/beta_rowset_writer.cpp:1104 8# doris::SegmentCollectorT<doris::BaseBetaRowsetWriter>::add(unsigned int, doris::SegmentStatistics&, std::shared_ptr<doris::TabletSchema>) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/segment_creator.h:91 9# doris::SegmentFlusher::_flush_segment_writer(std::unique_ptr<doris::segment_v2::VerticalSegmentWriter, std::default_delete<doris::segment_v2::VerticalSegmentWriter> >&, std::shared_ptr<doris::TabletSchema>, long*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/segment_creator.cpp:263 10# doris::SegmentFlusher::flush_single_block(doris::vectorized::Block const*, int, long*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/segment_creator.cpp:76 11# doris::SegmentCreator::flush_single_block(doris::vectorized::Block const*, int, long*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/segment_creator.cpp:416 12# doris::BaseBetaRowsetWriter::flush_memtable(doris::vectorized::Block*, int, long*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/rowset/beta_rowset_writer.cpp:719 13# doris::FlushToken::_do_flush_memtable(doris::MemTable*, int, long*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/memtable_flush_executor.cpp:160 14# doris::FlushToken::_flush_memtable(std::shared_ptr<doris::MemTable>, int, long) in /mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be 15# doris::MemtableFlushTask::run() at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/olap/memtable_flush_executor.cpp:60 16# doris::ThreadPool::dispatch_thread() at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/util/threadpool.cpp:609 17# doris::Thread::supervise_thread(void*) at /mnt/disk3/pipeline/repo/selectdb-core_selectdb-second-branch/be/src/util/thread.cpp:499 18# start_thread at ./nptl/pthread_create.c:442 19# 0x00007FEE2C8CE850 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:83 ```
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
|
run buildall |
TPC-H: Total hot run time: 32832 ms |
TPC-DS: Total hot run time: 192771 ms |
ClickBench: Total hot run time: 28.93 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
|
run buildall |
TPC-H: Total hot run time: 32972 ms |
TPC-DS: Total hot run time: 193128 ms |
ClickBench: Total hot run time: 28.47 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
morrySnow
approved these changes
Sep 5, 2025
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-picked from #55539