chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
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
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
Chris Lu
0db2517994
go fmt
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
921e0d5008
remove verbose log
4 years ago
Chris Lu
9abb041763
filer source: support filerProxy mode
4 years ago
Chris Lu
990fa69bfe
add back AdjustedUrl() related code
4 years ago
Chris Lu
00707ec00f
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
4 years ago
Chris Lu
6ca10725b8
Revert "mount: when outside cluster network, use filer as proxy to access volume servers"
This reverts commit 096e088d7b
.
4 years ago
Chris Lu
096e088d7b
mount: when outside cluster network, use filer as proxy to access volume servers
4 years ago
Chris Lu
80b8692688
filer.sync: replicate outside of either cluster, only need to see filers
4 years ago
Chris Lu
723ae11db4
refactoring in order to adjust volume server url later
4 years ago
Chris Lu
a8624c2e4f
read from alternative replica
related to https://github.com/chrislusf/seaweedfs/issues/1512
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
4fc0bd1a81
return http response directly
4 years ago
Chris Lu
ed3cf811f5
refactoring
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
c789b496d8
use cached grpc client
6 years ago
Chris Lu
55bab1b456
add context.Context
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
e8ef501f02
add s3 replication sink
6 years ago
Chris Lu
db69ce89f0
go fmt
6 years ago
Chris Lu
a6cfaba018
able to sync the changes
6 years ago
Chris Lu
25fb6f9a46
fix compilation
6 years ago
Chris Lu
779641e9d4
adjust replicated entry name
6 years ago
Chris Lu
788acdf527
add WIP filer.replicate
6 years ago