zhang-arvin opened a new pull request, #67309:
URL: https://github.com/apache/doris/pull/67309

   Closes #67297.
   
   ## Problem
   When an Observer FE forwards requests to the master FE, the master address 
is cached at construction time. If the master fails over, the observer 
continues to forward to the stale address.
   
   ## Fix
   In the forward() method, when a TTransportException occurs, rediscover the 
current leader via Env.getCurrentEnv().getMasterHost()/getMasterRpcPort(). If 
the address changed, update feAddr and retry with the new master.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to