Skip to content

Comments

[refactor][broker] Move loadbalancer used data classes package position#14945

Merged
RobertIndie merged 2 commits intoapache:masterfrom
Demogorgon314:refactor/move-loadbalancer-data-package-position
Apr 24, 2022
Merged

[refactor][broker] Move loadbalancer used data classes package position#14945
RobertIndie merged 2 commits intoapache:masterfrom
Demogorgon314:refactor/move-loadbalancer-data-package-position

Conversation

@Demogorgon314
Copy link
Member

Motivation

I'm working on improving the loadbalancer, but I find they are four classes used in loadbalancer and the package position is under the org.apache.pulsar.broker. This is strange because another class named LocalBrokerData is in org.apache.pulsar.policies.data.loadbalancer.

We should move it to pulsar-common and put them together with LocalBrokerData for future extensions.

Modifications

Move loadbalancer used data classes package position to org.apache.pulsar.policies.data.loadbalancer

Documentation

Check the box below or label this PR directly (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

Copy link
Contributor

@Jason918 Jason918 left a comment

Choose a reason for hiding this comment

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

LGTM

@RobertIndie RobertIndie added area/broker doc-not-needed Your PR changes do not impact docs type/refactor Code or documentation refactors. e.g. refactor code structure or methods to improve code readability labels Mar 30, 2022
@Demogorgon314 Demogorgon314 force-pushed the refactor/move-loadbalancer-data-package-position branch from 988fb4a to 89864a6 Compare March 31, 2022 01:18
@Demogorgon314 Demogorgon314 reopened this Mar 31, 2022
@Demogorgon314 Demogorgon314 force-pushed the refactor/move-loadbalancer-data-package-position branch from c625c09 to 5a42eb4 Compare April 1, 2022 04:59
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

1 similar comment
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

1 similar comment
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 force-pushed the refactor/move-loadbalancer-data-package-position branch from 5a42eb4 to 057549d Compare April 3, 2022 15:19
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 force-pushed the refactor/move-loadbalancer-data-package-position branch from 057549d to 9bff4b6 Compare April 4, 2022 06:26
@Demogorgon314 Demogorgon314 reopened this Apr 4, 2022
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 force-pushed the refactor/move-loadbalancer-data-package-position branch from 9bff4b6 to 2495632 Compare April 6, 2022 06:44
@Demogorgon314
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 reopened this Apr 6, 2022
@Demogorgon314
Copy link
Member Author

@codelipenghui @RobertIndie The CI is passed. Please take a look if you have time, thanks : )

@RobertIndie RobertIndie merged commit a812f29 into apache:master Apr 24, 2022
@Demogorgon314 Demogorgon314 deleted the refactor/move-loadbalancer-data-package-position branch April 24, 2022 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker doc-not-needed Your PR changes do not impact docs type/refactor Code or documentation refactors. e.g. refactor code structure or methods to improve code readability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants