First of all, I have to confess that I have to work with rather old Mosquitto versions due to the fact that we still have to use RHEL 8 here.
The mosquitto version is 1.6.15.
Now for my problem. I have a mosquitto configured with a bridge to another mosquitto.
connection ebp-ede
address ebp-ede_a ebp-ede_b
topic # out 2
keepalive_interval 5
ebp-ede_a and ebp-ede_b are the two addresses of the mutihomed other mosquitto on machine ebp-ede.
Since I did not specify round_robin, the bridge will first use address ebp-ede_a. When I bring down the network interface ebp-ede_a, mosquitto will setup the second connection (to ebp-ede_b).
mosquitto is then supposed to regularly check if it can switch back to ebp-ede_a.
However, doing so it also closes the working connection to ebp-ede_b even if ebp_ede_a is still unreachable.
This causes regular complete disconnections between both mosquittos.
I would have expected that it only breaks down the connection to ebp-ede_b when the connection to ebp-ede_a was successful.
Is this that has been fixed in newer mosquitto releases?