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

   ### Motivation
   We have 3 bookies in the same rack, and configured `E = 2, W = 2, A = 2`. 
When one bookie restarted, we found the ledger select bookie from the same rack 
failed in the ensemble change replacing the failed bookie step.
   
   Due to there being no log information in `selectRandomFromRack`, it's hard 
to debug the root cause.
   
https://github.com/apache/bookkeeper/blob/02e64a4b97e03afc9993ab227f82a5956965c03f/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/RackawareEnsemblePlacementPolicyImpl.java#L630-L679
   
   ### Modification
   Add one warn log in `selectRandomFromRack` when selecting a new bookie node 
failed.


-- 
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