chrislu
a4b25a642d
math/rand => math/rand/v2
4 months ago
chrislu
89a1fd1751
Squashed commit of the following:
commit 4827425146
Author: chrislu <chris.lu@gmail.com>
Date: Sat Sep 16 15:05:38 2023 -0700
balancer works
commit 3b50139f68
Author: chrislu <chris.lu@gmail.com>
Date: Fri Sep 15 22:22:32 2023 -0700
comments
commit 7f685ce7ba
Author: chrislu <chris.lu@gmail.com>
Date: Fri Sep 15 22:20:05 2023 -0700
adjust APIs
commit 436d99443b
Author: chrislu <chris.lu@gmail.com>
Date: Thu Sep 14 23:49:05 2023 -0700
receive broker stats
commit b771fefa37
Merge: 0a851ec00
890881037
Author: chrislu <chris.lu@gmail.com>
Date: Wed Sep 13 00:03:47 2023 -0700
Merge branch 'master' into sub
commit 0a851ec00b
Author: chrislu <chris.lu@gmail.com>
Date: Sun Sep 10 22:01:25 2023 -0700
Create balancer.go
commit 39941edc0b
Author: chrislu <chris.lu@gmail.com>
Date: Thu Sep 7 23:55:19 2023 -0700
add publisher shutdown
commit 875f562779
Author: chrislu <chris.lu@gmail.com>
Date: Wed Sep 6 23:16:41 2023 -0700
server side send response at least once per second
commit 984b6c54cf
Author: chrislu <chris.lu@gmail.com>
Date: Wed Sep 6 23:15:29 2023 -0700
ack interval 128
commit 2492a45499
Author: chrislu <chris.lu@gmail.com>
Date: Wed Sep 6 22:39:46 2023 -0700
ack interval
commit ba67e6ca29
Author: chrislu <chris.lu@gmail.com>
Date: Mon Sep 4 21:43:50 2023 -0700
api for sub
commit 9e4f985698
Author: chrislu <chris.lu@gmail.com>
Date: Mon Sep 4 21:43:30 2023 -0700
publish, benchmark
commit cb470d44df
Author: chrislu <chris.lu@gmail.com>
Date: Fri Sep 1 00:36:51 2023 -0700
can pub and sub
commit 1eb2da46d5
Author: chrislu <chris.lu@gmail.com>
Date: Mon Aug 28 09:02:12 2023 -0700
connect and publish
commit 504ae8383a
Author: chrislu <chris.lu@gmail.com>
Date: Mon Aug 28 09:01:25 2023 -0700
protoc version
commit dbcba75271
Author: chrislu <chris.lu@gmail.com>
Date: Sun Aug 27 18:59:04 2023 -0700
rename to lookup
commit c9caf33119
Author: chrislu <chris.lu@gmail.com>
Date: Sun Aug 27 18:33:46 2023 -0700
move functions
commit 4d6c18d86f
Author: chrislu <chris.lu@gmail.com>
Date: Sun Aug 27 17:50:59 2023 -0700
pub sub initial tests
commit 4eb8e8624d
Author: chrislu <chris.lu@gmail.com>
Date: Sun Aug 27 13:14:39 2023 -0700
rename
commit 1990456670
Author: chrislu <chris.lu@gmail.com>
Date: Sun Aug 27 13:13:14 2023 -0700
sub
commit 905911853d
Author: chrislu <chris.lu@gmail.com>
Date: Sat Aug 26 13:39:21 2023 -0700
adjust proto
1 year ago
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