Jiffs Maverick
4b0430e71d
[metrics] Add the ability to control bind ip ( #4012 )
2 years ago
Konstantin Lebedev
401315f337
master fix interruption through ctrl+c ( #3834 )
2 years ago
Konstantin Lebedev
b9933d5589
master server graceful stop ( #3797 )
2 years ago
Ryan Russell
8efe1db01a
refactor(various): `Listner` -> `Listener` readability improvements ( #3672 )
* refactor(net_timeout): `listner` -> `listener`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
* refactor(s3): `s3ApiLocalListner` -> `s3ApiLocalListener`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
* refactor(filer): `localPublicListner` -> `localPublicListener`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
* refactor(command): `masterLocalListner` -> `masterLocalListener`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
* refactor(net_timeout): `ipListner` -> `ipListener`
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
Patrick Schmidt
7b424a54dc
Add raft server access mutex to avoid races ( #3503 )
2 years ago
chrislu
67814a5c79
refactor and fix strings.Split
2 years ago
Patrick Schmidt
1a4a36d510
Add healthy indicator for raft status
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
chrislu
492da3dbce
master: put metadata under instance specific folder
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
Konstantin Lebedev
622297f1a7
add stats raft handler
3 years ago
Konstantin Lebedev
14dd971890
hashicorp raft with state machine
3 years ago
Konstantin Lebedev
c514710b7b
initial add hashicorp raft
3 years ago
chrislu
daca2d22a5
use original server address string as map key
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
chrislu
4ba7127ab1
refactor
3 years ago
Berck Nash
7ee38fa3a4
The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had a few problems:
(1) The help file says that in the absence of a ipBind being specified, that it will bind to the "ip" specified. Instead, it bound to localhost which broke the default configuration. This change implements the documented behavior instead.
(2) The new IAM filer ip address has no default. This instantiates it to the same as the filer IP. I'm not sure if there should be a corresponding iam.ip or iam.ipBind option added to the filer command?
3 years ago
Berck Nash
9b14f0c81a
Add mTLS support for both master and volume http server.
3 years ago
chrislu
3639cad69c
master, filer, s3: also listen to "localhost" in addition to specific ip address
related to https://github.com/chrislusf/seaweedfs/issues/1937
3 years ago
chrislu
3a6eb8ca5f
default bind to one ip address
fix https://github.com/chrislusf/seaweedfs/issues/1937
3 years ago
garenchan
bd032eabe7
[UPDATE] Make heartbeat interval and election timeout of masters configurable.
3 years ago
Konstantin Lebedev
77c98b657e
master metricsHttpPort
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
52fe86df45
use default 10000 for grpc port
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
bd1f800efe
custom grpc port: master
3 years ago
Chris Lu
574485ec69
better IP v6 support
3 years ago
Chris Lu
7937db52e1
Filer locationPrefix configure does not exec replication #2257
fix https://github.com/chrislusf/seaweedfs/issues/2257
3 years ago
Chris Lu
5469019852
adjust data type
3 years ago
Konstantin Lebedev
9ce82a9cd2
GOMAXPROCS use defaults to the value of runtime.NumCPU
https://github.com/chrislusf/seaweedfs/issues/1942
4 years ago
Chris Lu
c42b95c596
more help message
fix https://github.com/chrislusf/seaweedfs/issues/1937
4 years ago
Chris Lu
2a68ddb963
default to empty host to bind to tcp4 and tcp6
4 years ago
Konstantin Lebedev
c6d3735605
permitCommonNames
https://github.com/chrislusf/seaweedfs/issues/1841
https://jbrandhorst.com/post/grpc-auth/
4 years ago
Chris Lu
06bb7bf6c0
adding /usr/local/etc/seaweedfs for bsd style config search path
related to https://reviews.freebsd.org/D27391
4 years ago
Chris Lu
da36abf033
go fmt
4 years ago
Chris Lu
1b17f71939
adjust election timeout to 10 seconds
4 years ago
Chris Lu
0cea84e7ab
make it easy with setting up multiple masters in a clcuster
4 years ago
Chris Lu
ee1fc6558a
refactor
4 years ago
Chris Lu
da4edf3651
master: check peers for existing leader before starting a leader election
fix https://github.com/chrislusf/seaweedfs/issues/1509
4 years ago
Устюжанин Антон Александрович
6fbfe73683
fix: resumeState
4 years ago
Устюжанин Антон Александрович
dc31b19469
fix: restore raft state
4 years ago
Устюжанин Антон Александрович
8c82fb7e5f
fix: restore raft state
4 years ago
Chris Lu
2c21eb1971
volume: get metrics configuration from master
fix https://github.com/chrislusf/seaweedfs/issues/1354
4 years ago
Chris Lu
f43146b237
resolve directories if containing home directory
5 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
393ab07c7c
disable pulse seconds
there are a few other hard coded timing settings, which will cause disconnected volume servers.
5 years ago
Chris Lu
bc2ec6774d
inject git version into build
5 years ago
wuyuxiang
6850d28d6b
refacotr: move signal handling and pprof to grace package
5 years ago