Skip to content

Conversation

@zclllyybb
Copy link
Contributor

Reverts #35630 because it brought some more damaging bugs. we will fix it and merge in next version

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zclllyybb
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a 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


LoadChannel::LoadChannel(const UniqueId& load_id, int64_t timeout_s, bool is_high_priority,
std::string sender_ip, int64_t backend_id, bool enable_profile)
const std::string& sender_ip, int64_t backend_id, bool enable_profile)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: pass by value and use std::move [modernize-pass-by-value]

be/src/runtime/load_channel.cpp:21:

+ 
+ #include <utility>
Suggested change
const std::string& sender_ip, int64_t backend_id, bool enable_profile)
std::string sender_ip, int64_t backend_id, bool enable_profile)

be/src/runtime/load_channel.cpp:39:

-           _sender_ip(sender_ip),
+           _sender_ip(std::move(sender_ip)),

be/src/runtime/load_channel.h:54:

-                 const std::string& sender_ip, int64_t backend_id, bool enable_profile);
+                 std::string  sender_ip, int64_t backend_id, bool enable_profile);

@morningman morningman merged commit 3b23eee into apache:branch-2.1 Jun 11, 2024
morningman pushed a commit that referenced this pull request Jun 20, 2024
… replica (#36586)

this pr
1. picked #35630, which was reverted #36098 before.
2. picked #36344 from master

these two pr fixed existing bug about auto partition load.

---------

Co-authored-by: Kaijie Chen <ckj@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants