seaweedfs/weed/replication
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
..
repl_util move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
sink remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
source remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
sub also migrate jsonpb 2022-08-17 12:42:03 -07:00
replicator.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00