Skip to content
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

[improve][broker] Make some methods of ClusterBase pure async. #15358

Merged
merged 9 commits into from
May 10, 2022
Merged

[improve][broker] Make some methods of ClusterBase pure async. #15358

merged 9 commits into from
May 10, 2022

Conversation

mattisonchao
Copy link
Member

@mattisonchao mattisonchao commented Apr 28, 2022

Motivation

See PIP #14365 and change tracker #15043.

Modifications

  • Make ClusterBase setPeerClusterNames / getPeerCluster / deleteCluster methods to pure async.

Verifying this change

  • Make sure that the change passes the CI checks.

AdminApi2Test#testPeerCluster and AdminTest#clusters already cover this change.

Documentation

  • no-need-doc
    (Please explain why)

@mattisonchao mattisonchao marked this pull request as draft April 28, 2022 00:57
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 28, 2022
@mattisonchao mattisonchao added this to the 2.11.0 milestone May 4, 2022
@mattisonchao mattisonchao added area/broker area/admin type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages labels May 4, 2022
@mattisonchao mattisonchao marked this pull request as ready for review May 4, 2022 20:38
@mattisonchao mattisonchao requested a review from RobertIndie May 9, 2022 06:40
Copy link
Member

@shibd shibd left a comment

Choose a reason for hiding this comment

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

/LGTM

Copy link
Contributor

@gaoran10 gaoran10 left a comment

Choose a reason for hiding this comment

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

Great work! Left some trivial comments.

@mattisonchao mattisonchao requested a review from gaoran10 May 10, 2022 01:36
Copy link
Contributor

@gaoran10 gaoran10 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin area/broker doc-not-needed Your PR changes do not impact docs type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants