Konstantin Lebedev
5ffacbb6ea
refactor all methods strings to const ( #5726 )
6 months ago
vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
6 months ago
chrislu
645ae8c57b
Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs ""
This reverts commit 8cb42c39
1 year ago
chrislu
8cb42c39ad
Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs "
This reverts commit 2e5aa06026
, reversing
changes made to 4d414f54a2
.
1 year ago
dependabot[bot]
a04bd4d26f
Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 ( #4850 )
* Bump github.com/rclone/rclone from 1.63.1 to 1.64.0
Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone ) from 1.63.1 to 1.64.0.
- [Release notes](https://github.com/rclone/rclone/releases )
- [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md )
- [Commits](https://github.com/rclone/rclone/compare/v1.63.1...v1.64.0 )
---
updated-dependencies:
- dependency-name: github.com/rclone/rclone
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* API changes
* go mod
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
1 year ago
Stewart Miles
dd71f54c6b
Fix -raftHashicorp and -raftBootstrap flag propagation. ( #4309 )
`weed server` was not correctly propagating
`-master.raftHashicorp` and `-master.raftBootstrap` flags when
starting the master server.
Related to #4307
2 years ago
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