Closed shangjin92 closed 1 year ago
@shangjin92 This will defeat the purpose of the stolon proxy: stop connections when we can't know the cluster state. There's already a retry done by TimeoutChecker until ProxyTimeout. See https://github.com/sorintlab/stolon/blob/master/doc/architecture.md
Sometimes, the storage is not stable, and cannot get cluster data from storage, or maybe timeout. It will cause to stop listening, and disconnect current connection, but the keeper is actually healthy. So add retry method when request cluster data, it will make system more reliable.