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
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
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
bf270d9e8c
filer: able to tail meta data changes
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
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
713596e781
caching ec shard locations
6 years ago
Chris Lu
79c2cca9c1
better error message
6 years ago
Chris Lu
da871896c3
weed filer: set grpc port to port + 10000
6 years ago
Chris Lu
55bab1b456
add context.Context
6 years ago
Chris Lu
448645203a
remove unused variables
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
67e2ea72be
master add separate grpc port
due to https://github.com/soheilhy/cmux/issues/64
fix https://github.com/chrislusf/seaweedfs/issues/820
fix https://github.com/chrislusf/seaweedfs/issues/840
fix https://github.com/chrislusf/seaweedfs/issues/841
6 years ago
Chris Lu
29f1673d97
refactoring
6 years ago
Chris Lu
86dd933596
go fmt
6 years ago
Chris Lu
d3b7965c76
caching grpc clients
6 years ago
Chris Lu
b1daede91b
move volume vacuum to gRpc
6 years ago
Chris Lu
91ac2e0dd9
go fmt
6 years ago
Chris Lu
ff66269b62
use grpc to replace http APIs for batch volume id lookup and batch delete
1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete
6 years ago