This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new b24fe86485e [improve](streamload) do not print stack trace when get data from pipe meet cancel (#30297) b24fe86485e is described below commit b24fe86485e3d9e8ab691ba3789e26ce1429e733 Author: HHoflittlefish777 <77738092+hhoflittlefish...@users.noreply.github.com> AuthorDate: Wed Jan 24 21:51:09 2024 +0800 [improve](streamload) do not print stack trace when get data from pipe meet cancel (#30297) --- be/src/io/fs/stream_load_pipe.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/be/src/io/fs/stream_load_pipe.cpp b/be/src/io/fs/stream_load_pipe.cpp index 3e2f6bdf3ea..014d1240c5c 100644 --- a/be/src/io/fs/stream_load_pipe.cpp +++ b/be/src/io/fs/stream_load_pipe.cpp @@ -64,7 +64,7 @@ Status StreamLoadPipe::read_at_impl(size_t /*offset*/, Slice result, size_t* byt } // cancelled if (_cancelled) { - return Status::InternalError("cancelled: {}", _cancelled_reason); + return Status::InternalError<false>("cancelled: {}", _cancelled_reason); } // finished if (_buf_queue.empty()) { @@ -168,7 +168,7 @@ Status StreamLoadPipe::_read_next_buffer(std::unique_ptr<uint8_t[]>* data, size_ } // cancelled if (_cancelled) { - return Status::InternalError("cancelled: {}", _cancelled_reason); + return Status::InternalError<false>("cancelled: {}", _cancelled_reason); } // finished if (_buf_queue.empty()) { @@ -210,7 +210,7 @@ Status StreamLoadPipe::_append(const ByteBufferPtr& buf, size_t proto_byte_size) } } if (_cancelled) { - return Status::InternalError("cancelled: {}", _cancelled_reason); + return Status::InternalError<false>("cancelled: {}", _cancelled_reason); } _buf_queue.push_back(buf); if (_use_proto) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org