chrislu
4d6c18d86f
pub sub initial tests
1 year ago
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
chrislu
13b9a52f80
fix deprecated functions
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
9f479aab98
allocate brokers to serve segments
2 years ago
chrislu
21b6b07dd8
renaming
3 years ago
chrislu
1112dab4f3
allocate brokers to serve segments
2 years ago
chrislu
5536ed85e5
renaming
3 years ago
chrislu
449ecc8890
remove max connection age
related to https://github.com/chrislusf/seaweedfs/pull/3226
3 years ago
chrislu
41dfe27102
Revert "remove max connection age"
This reverts commit b9b684194f
.
3 years ago
chrislu
800cbc004c
volume server adds ping function
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
chrislu
b9b684194f
remove max connection age
following https://github.com/grpc/grpc-go/issues/3170#issuecomment-552517779
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
Chris Lu
2789d10342
go fmt
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
889a39a24f
ipv6
3 years ago
Chris Lu
08258a819d
fix mistake
3 years ago
Chris Lu
4909bd9684
gRpc connection error on filer when no volume left #2243
fix https://github.com/chrislusf/seaweedfs/issues/2243
grpc do not cache connections only when connection problem happens.
Normal error results should not close the shared grpc connection.
3 years ago
Chris Lu
5571f4f70a
master: add master.follower to handle read file id lookup requests
3 years ago
Chris Lu
c5de97ddbe
keep alive for streaming connections
fix https://github.com/chrislusf/seaweedfs/issues/2096
related to https://github.com/chrislusf/seaweedfs/issues/1277
4 years ago
Chris Lu
1456616a77
recreate grpc connections if too many errors
address https://github.com/chrislusf/seaweedfs/issues/2098
4 years ago
Chris Lu
3d3fa43542
filer: re-create grpc connections if having transport error
fix https://github.com/chrislusf/seaweedfs/issues/2070
4 years ago
Chris Lu
dc1309f084
FUSE mount: support multiple filers
fix https://github.com/chrislusf/seaweedfs/issues/2015
fix https://github.com/chrislusf/seaweedfs/issues/1531
4 years ago
Chris Lu
9d402ebe9f
refactoring
4 years ago
Chris Lu
bd727b7b53
go fmt
4 years ago
Chris Lu
e982b06bcd
support IPv6
4 years ago
Chris Lu
f465d63b5d
grpc should fail when heart beating to master
fix https://github.com/chrislusf/seaweedfs/issues/1820
4 years ago
Chris Lu
487e435679
adjust http max idle connections per host
related to https://github.com/chrislusf/seaweedfs/issues/1802
4 years ago
Chris Lu
15c60cbb26
close the grpc connection after 10 hours
related to https://github.com/chrislusf/seaweedfs/issues/1782
4 years ago
Chris Lu
80b8692688
filer.sync: replicate outside of either cluster, only need to see filers
4 years ago
Konstantin Lebedev
918546bbdb
add WaitForReady to grpc DialOption
4 years ago
Chris Lu
353bea8ddb
refactoring
5 years ago
Chris Lu
ff0a7c1d18
clean up
5 years ago
Chris Lu
aebe39a803
avoid repeated grpc connection creation
fix https://github.com/chrislusf/seaweedfs/issues/1277
5 years ago
Chris Lu
978da73cdb
revert this grpc related change
maybe related to https://github.com/chrislusf/seaweedfs/issues/1277
5 years ago
Chris Lu
076c8bd3bc
filer master start up with default ip address instead of just localhost
5 years ago
Chris Lu
5a5908407d
filer: support larger file size
fix https://github.com/chrislusf/seaweedfs/issues/1257
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago
Chris Lu
ed0acd1722
go fmt
5 years ago
Chris Lu
37a3628b2e
grpc add PermitWithoutStream to client and server options
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
Chris Lu
107e8a56ea
retry context canceled request
5 years ago
Chris Lu
79c2cca9c1
better error message
6 years ago
Chris Lu
967e108b9a
increase max idle conn per hosts
6 years ago
Chris Lu
e11e127d91
close grpc connections during errors
6 years ago
Chris Lu
c94823f52c
set default http idle connection per host
possible fix https://github.com/chrislusf/seaweedfs/issues/915
6 years ago