gosonzhang opened a new issue, #5681:
URL: https://github.com/apache/inlong/issues/5681

   ### What happened
   
   When the C++ SDK is running, if the active master node suddenly hangs up, 
the SDK cannot switch to other master nodes for registration, which will affect 
the timely synchronization of the SDK to the metadata. 
   
   This issue is used to solve this problem: by checking the number of 
continuous heartbeats, when the cumulative failure number exceeds a certain 
number of times, the registration process to the Master is initiated to 
reselect the Master node
   
   ### What you expected to happen
   
   After the number of heartbeats increases more than a certain number of 
times, switch the master node registration
   
   ### How to reproduce
   
   Register to Master, then shutdown active master
   
   ### Environment
   
   Linux
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong TubeMQ
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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