You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2017/11/01 22:04:59 UTC
[GitHub] rdhabalia opened a new pull request #877: Namespace-isolation policy should consider secondary brokers
rdhabalia opened a new pull request #877: Namespace-isolation policy should consider secondary brokers
URL: https://github.com/apache/incubator-pulsar/pull/877
### Motivation
Right now, LoadManager is not considering secondary-brokers from NamespaceIsolation-Policy while selecting broker-candidates.
For example: if NamespaceIsolation-policies has primary and secondary brokers configured and if primary is not available then load-manager should only consider secondary brokers and should never look into shared-pool brokers.
Right now, load-manager is completely ignoring secondary brokers and always look into shared brokers if it doesn't find enough primary broker.
**NOTE**: Pulsar has this behavior from the beginning and both load-manager has the same behavior.
### Modifications
Broker should consider secondary brokers while selecting broker candidate.
### Result
Load-manager follows namespace-isolation policy correctly by considering primary and secondary brokers appropriately.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services