wuYin opened a new pull request #9298:
URL: https://github.com/apache/pulsar/pull/9298


   Fixes #9297 
   
   ### Motivation
   
   Try to fix flaky case which broker always returned unreachable address to 
client.
   
   ### Modifications
   
   Before broker response lookup result, check the owner broker is active or 
not.
   If not, remove the ownership, then redirect to leader broker to find a new 
active broker to own this bundle. 
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   
   ### Other
   Since this case can't be reproduced easily, and this change will cause the 
lookup to increase the latency of the read local cache, so I'm not sure this is 
the best solution to fix this, if not, ok to close this PR.
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to