Konstantin Lebedev
e90ab4ac60
avoid race conditions for OnPeerUpdate ( #3525 )
https://github.com/seaweedfs/seaweedfs/issues/3524
2 years ago
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
2 years ago
chrislu
2b580a7566
also migrate jsonpb
2 years ago
chrislu
eaeb141b09
move proto package
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
afef014832
scaffold
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
aa4a22ad47
segment serde
2 years ago
chrislu
74f60f246f
dynamically connect to a filer
2 years ago
chrislu
9f479aab98
allocate brokers to serve segments
2 years ago
chrislu
94b8c42b2c
clean up
2 years ago
chrislu
8060fdcac5
remove old code
2 years ago
chrislu
f25e273e32
display data center and rack in cluster.ps
3 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
87ccef72db
cluster.ps can list brokers
3 years ago
chrislu
ac66227798
renaming
3 years ago
chrislu
21b6b07dd8
renaming
3 years ago
chrislu
113a4546fd
segment serde
2 years ago
chrislu
11d79615c8
dynamically connect to a filer
2 years ago
chrislu
1112dab4f3
allocate brokers to serve segments
2 years ago
chrislu
ef93869009
clean up
2 years ago
chrislu
7db6666b97
remove old code
2 years ago
chrislu
3254f18343
display data center and rack in cluster.ps
3 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
chrislu
857a42565e
cluster.ps can list brokers
3 years ago
chrislu
ffc2c0a2ef
renaming
3 years ago
chrislu
5536ed85e5
renaming
3 years ago