TakaHiR07 opened a new pull request, #4092:
URL: https://github.com/apache/bookkeeper/pull/4092

   ### Motivation
   
   Now in regionAwarePolicy, each region has the same localNode. Such as:
   
   - region1  -  localNode is /region1/rack1
   - region2  -  localNode is /region1/rack1
   - region3  -  localNode is /region1/rack1
   
   This is not correct and would generate more confusing warn log in 
newEnsemble()
   
![企业微信截图_f12217d6-af21-41d6-b2de-c1c484a0d788](https://github.com/apache/bookkeeper/assets/13505225/d693c196-100a-4ea3-8dfb-6ad8ef4accce)
   
   This pr is a supplement of https://github.com/apache/bookkeeper/pull/4091. 
We should fix the localNode not update first. 
   
   ### Changes
   1. only one region need localNode. So reset the localNode in other region
   2. add test
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to