TakaHiR07 opened a new pull request, #4122: URL: https://github.com/apache/bookkeeper/pull/4122
### Motivation When using regionAwarePolicy in pulsar, we encounter a case as following: 1. bookie shutdown, trigger handleBookiesThatLeft() 2. change bookie's rackInfo, trigger onBookieRackChange() 3. bookie start, trigger handleBookiesThatJoined() However, the rackInfo is not updated actually, broker still write ensemble with old rackInfo. ### Changes 1. The Hashmap "address2Region" is local variable. It should be updated in handleBookiesThatJoined() 2. add a test to verify -- 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]
