-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](pipeline) fix exception safety issue in MultiCastDataStreamer #36748
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40508 ms |
TPC-DS: Total hot run time: 174080 ms |
ClickBench: Total hot run time: 30.33 s |
|
run buildall |
TPC-H: Total hot run time: 40173 ms |
TPC-DS: Total hot run time: 171432 ms |
ClickBench: Total hot run time: 32.03 s |
4519faf to
9cb10d1
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40880 ms |
TPC-DS: Total hot run time: 169617 ms |
ClickBench: Total hot run time: 31.32 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
TPC-H: Total hot run time: 39952 ms |
TPC-DS: Total hot run time: 171925 ms |
ClickBench: Total hot run time: 31.21 s |
HappenLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
HappenLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…36748) ## Proposed changes ```cpp RETURN_IF_ERROR(vectorized::MutableBlock(block).merge(*pos_to_pull->_block)) ``` this line may throw an exception(cannot allocate)
…36814) ## Proposed changes pick #36748 ```cpp RETURN_IF_ERROR(vectorized::MutableBlock(block).merge(*pos_to_pull->_block)) ``` this line may throw an exception(cannot allocate) ``` *** Query id: b7b80bfd76cc42a5-a9916f8364d5a4d3 *** *** tablet id: 0 *** *** Aborted at 1719187603 (unix time) try "date -d @1719187603" if you are using GNU date *** *** Current BE git commitID: a8c48f5 *** *** SIGSEGV address not mapped to object (@0x47) received by PID 1197117 (TID 1197376 OR 0x7f49a25e4640) from PID 71; stack trace: *** 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris_branch-2.0/doris/be/src/common/signal_handler.h:417 1# os::Linux::chained_handler(int, siginfo_t*, void*) in /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so 2# JVM_handle_linux_signal in /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so 3# signalHandler(int, siginfo_t*, void*) in /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so 4# 0x00007F4ABB927520 in /lib/x86_64-linux-gnu/libc.so.6 5# std::default_delete<doris::vectorized::Block>::operator()(doris::vectorized::Block*) const at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:85 6# doris::pipeline::MultiCastDataStreamer::close_sender(int) at /root/doris_branch-2.0/doris/be/src/pipeline/exec/multi_cast_data_streamer.cpp:60 7# doris::pipeline::MultiCastDataStreamerSourceOperator::close(doris::RuntimeState*) at /root/doris_branch-2.0/doris/be/src/pipeline/exec/multi_cast_data_stream_source.cpp:120 8# doris::pipeline::PipelineTask::close() at /root/doris_branch-2.0/doris/be/src/pipeline/pipeline_task.cpp:334 9# doris::pipeline::TaskScheduler::_try_close_task(doris::pipeline::PipelineTask*, doris::pipeline::PipelineTaskState) at /root/doris_branch-2.0/doris/be/src/pipeline/task_scheduler.cpp:353 10# doris::pipeline::TaskScheduler::_do_work(unsigned long) in /mnt/disk1/STRESS_ENV/be/lib/doris_be 11# doris::ThreadPool::dispatch_thread() in /mnt/disk1/STRESS_ENV/be/lib/doris_be 12# doris::Thread::supervise_thread(void*) at /root/doris_branch-2.0/doris/be/src/util/thread.cpp:499 13# start_thread at ./nptl/pthread_create.c:442 14# 0x00007F4ABBA0B850 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:83 ``` <!--Describe your changes.-->
…pache#36813) ## Proposed changes pick apache#36748 ```cpp RETURN_IF_ERROR(vectorized::MutableBlock(block).merge(*pos_to_pull->_block)) ``` this line may throw an exception(cannot allocate) <!--Describe your changes.-->
Proposed changes
RETURN_IF_ERROR(vectorized::MutableBlock(block).merge(*pos_to_pull->_block))this line may throw an exception(cannot allocate)