chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago
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
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
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
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
5536ed85e5
renaming
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
chrislu
b70cb3e0b2
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
daf0a449f7
properly cancel context for streaming grpc
4 years ago
Chris Lu
2f243f5b0b
refactor
5 years ago
Chris Lu
dfccc3c263
able to read chan and write chan
5 years ago
Chris Lu
1e3e4b3072
add broker connects to filer
5 years ago
Chris Lu
d278b4c228
basic pub and sub works!
5 years ago
Chris Lu
076c8bd3bc
filer master start up with default ip address instead of just localhost
5 years ago
Chris Lu
11f5a6d913
messaging can compile now
5 years ago
Chris Lu
2e2537a9ea
rename files
5 years ago
Chris Lu
2a45897237
broker: read cipher value from filer
5 years ago
Chris Lu
f5a748d33c
refactoring
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago