rdhabalia commented on issue #1473: use v1 admin api for anti-affinity cluster 
endpoint
URL: https://github.com/apache/incubator-pulsar/pull/1473#issuecomment-377444190
 
 
   > My question was more of how does it work now with v1 global namespaces?
   
   While assigning namespace bundle ownership, LoadManager considers two 
things: (1) get list of failure-domains (where each domain will have list of 
brokers) (2) for a requested bundle, get group of anti affinity namespaces 
(from namespace policies). Then load manager tries to select broker from 
failure domains so, this anti-affinity namespaces get distributed uniformly 
across these failure domains.
   
   with V2, namespace policies will not be changed so, 2nd part will not be 
affected. however, we store failure domain in global zk under 
`/admin/clusters`. therefore, we can change this place-holder and store it in 
local zk so, each cluster will have its failure domain under 
`/admin/failure-domain` in local zk.
   
   if this seems reasonable then I will create a PR with the change.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to