-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Improvement](shuffle) Reduce memory consumption in data stream sender #41676
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
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.
clang-tidy made some suggestions
@@ -405,9 +395,9 @@ Status VDataStreamRecvr::add_block(const PBlock& pblock, int sender_id, int be_n | |||
wait_for_worker, time_to_find_recvr); | |||
} | |||
|
|||
void VDataStreamRecvr::add_block(Block* block, int sender_id, bool use_move) { | |||
void VDataStreamRecvr::add_block(Block* block, int sender_id) { |
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.
warning: method 'add_block' can be made const [readability-make-member-function-const]
void VDataStreamRecvr::add_block(Block* block, int sender_id) { | |
void VDataStreamRecvr::add_block(Block* block, int sender_id) const { |
be/src/vec/runtime/vdata_stream_recvr.h:88:
- void add_block(Block* block, int sender_id);
+ void add_block(Block* block, int sender_id) const;
TeamCity be ut coverage result: |
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
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
Proposed changes
Before:
After: