Skip to content

Revert "[fix](auto-partition) fix auto partition load lost data in multi sender (#35287)" - #36098

Merged
morningman merged 1 commit into
apache:branch-2.1from
zclllyybb:revert-35630-pick-35287
Jun 11, 2024
Merged

Revert "[fix](auto-partition) fix auto partition load lost data in multi sender (#35287)"#36098
morningman merged 1 commit into
apache:branch-2.1from
zclllyybb:revert-35630-pick-35287

Conversation

@zclllyybb

Copy link
Copy Markdown
Contributor

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

@doris-robot

Copy link
Copy Markdown

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
Copy Markdown
ContributorAuthor

run buildall

@github-actionsgithub-actionsBot left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
conststd::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.1Jun 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 freeto 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

@zclllyybb@doris-robot@morningman