-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Refine StreamLoadPipe::append_and_flush() #5449
Conversation
@@ -200,41 +204,8 @@ class StreamLoadPipe : public MessageBodySink, public FileReader { | |||
} | |||
|
|||
private: | |||
// read the next buffer from _buf_queue | |||
Status _read_next_buffer(std::unique_ptr<uint8_t[]>* out, size_t* out_cap, size_t* out_sz, size_t padding) { |
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.
Nice catch. I'm about to delete this.
Could |
The unit test still relies on this method now. |
Removed, PTAL |
…tarRocks#5452) This reverts commit 32b9ce6.
…tarRocks#5452) (StarRocks#5454) This reverts commit 32b9ce6. (cherry picked from commit 059dcee) Co-authored-by: 絵空事スピリット <wanglichen@starrocks.com>
…tarRocks#5452) (StarRocks#5453) This reverts commit 32b9ce6. (cherry picked from commit 059dcee) Co-authored-by: 絵空事スピリット <wanglichen@starrocks.com>
What type of PR is this:
Summary
Should flush the data in
_write_buf
before writing the data passed byappend_and_flush