tunneldigger icon indicating copy to clipboard operation
tunneldigger copied to clipboard

Proposal: Broker usage check on reconnect

Open valcryst opened this issue 2 years ago • 0 comments

Right now it seems that the usage/selection process on reconnect gets only triggered after 15-20s. While i understand that this was probably introduced to improve reconnect time after dialup/connection loss.

This behaviour leads to a problem in case you have atleast two brokers running on different machines. If you do maintenance on one of them and shutdown the broker for a while, the clients will move to the remaining broker. When you finish maintenance and start the broker, you will have to shutdown all other brokers for atleast 30-40s to trigger selection on all clients, otherwise the clients wont move to the other brokers.

Would it be possible to have broker selection on every reconnect or would it be better to have the broker send a "restarted" signal to trigger selection on the client ?

Kindly Regards

valcryst avatar Dec 17 '22 12:12 valcryst