Daniel-Constantin Mierla writes:
I hope to be fixed as part of my most recent commit.
The condition to
reactivate the connection after inactive_interval was wrong.
yes, now my tests show that db_cluster properly switches to lower
priority server when higher priority dies and then after 5 minutes back
to higher priority server when it is up again.
-- juha