seaweedfs/weed/mq/broker
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
..
brokder_grpc_admin.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
brokder_grpc_pub.go scaffold 2022-07-31 13:23:44 -07:00
broker_segment_serde.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
broker_server.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00