seaweedfs/weed/operation
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
..
assign_file_id.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
buffer_pool.go go fmt 2021-04-02 02:22:59 -07:00
chunked_file.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
data_struts.go cleanup security.Secret 2019-02-09 21:56:32 -08:00
delete_content.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
grpc_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
lookup_vid_cache_test.go directory structure change to work with glide 2016-06-02 18:09:14 -07:00
lookup_vid_cache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
lookup.go filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
needle_parse_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
submit.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
sync_volume.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
tail_volume.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
upload_content.go adjust log 2022-08-20 23:34:07 -07:00