seaweedfs/weed/cluster
askeipx 2e78a522ab
remove old raft servers if they don't answer to pings for too long (#3398)
* remove old raft servers if they don't answer to pings for too long

add ping durations as options

rename ping fields

fix some todos

get masters through masterclient

raft remove server from leader

use raft servers to ping them

CheckMastersAlive for hashicorp raft only

* prepare blocking ping

* pass waitForReady as param

* pass waitForReady through all functions

* waitForReady works

* refactor

* remove unneeded params

* rollback unneeded changes

* fix
2022-08-23 23:18:21 -07:00
..
cluster_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
cluster.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master_client.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00