-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fix rackaware placement policy does not take effect after delete rack configuration #14248
Conversation
@aloyszhang:Thanks for your contribution. For this PR, do we need to update docs? |
@aloyszhang:Thanks for providing doc info! |
/pulsarbot run-failure-checks |
...r-common/src/main/java/org/apache/pulsar/bookie/rackawareness/BookieRackAffinityMapping.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/RackAwareTest.java
Show resolved
Hide resolved
...r-common/src/main/java/org/apache/pulsar/bookie/rackawareness/BookieRackAffinityMapping.java
Outdated
Show resolved
Hide resolved
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.
+1
...r-common/src/main/java/org/apache/pulsar/bookie/rackawareness/BookieRackAffinityMapping.java
Outdated
Show resolved
Hide resolved
/pulsarbot run-failure-checks |
Fixes #14247
Motivation
fix rack aware placement policy does not take effect after deleting rack configuration
Modifications
Verifying this change
This change added tests and can be verified as follows:
RackAwareTest.testRackUpdate()
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
no-need-doc
(Please explain why)