-
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
[Enhancement] (nereids)implement adminRebalanceDiskCommand in nereids #45108
[Enhancement] (nereids)implement adminRebalanceDiskCommand in nereids #45108
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
323b229
to
73990ae
Compare
run buildall |
1 similar comment
run buildall |
0b18a6d
to
91c587d
Compare
run buildall |
if (ctx.ON() != null) { | ||
List<String> backendList = Lists.newArrayList(); | ||
ctx.backends.forEach(backend -> backendList.add(stripQuotes(backend.getText()))); | ||
return new AdminRebalanceDiskCommand(true, backendList); |
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.
pls use two commands but not one command to implement this feature. Planner also use two stmt to do so
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.
As Binfeng said, you can create a base class like RebalanceDiskCommand and put common logic there, the use two different sub classes to implement the two commands
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.
Thanks for pointing out the problem here, I will do.
run buildall |
1 similar comment
run buildall |
ef586b7
to
9f127d5
Compare
run buildall |
070ccbc
to
9f127d5
Compare
run buildall |
11d893a
to
ac265ce
Compare
run buildall |
run buildall |
run buildall |
PR approved by anyone and no changes requested. |
PR approved by at least one committer and no changes requested. |
What problem does this PR solve?
Issue Number: close #42844, #42845
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)