aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
AgeCommit message (Collapse)AuthorFilesLines
2023-09-25Revert "Revert "Merge branch 'master' of ↵chrislu1-2/+2
https://github.com/seaweedfs/seaweedfs"" This reverts commit 8cb42c39
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-2/+2
This reverts commit 2e5aa06026750c99ea283181974d2ccfe5eb0468, reversing changes made to 4d414f54a224142f3f4d934f4af3b5dceb6fec6b.
2023-09-18Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 (#4850)dependabot[bot]1-2/+2
* 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>
2023-03-15Fix -raftHashicorp and -raftBootstrap flag propagation. (#4309)Stewart Miles1-6/+7
`weed server` was not correctly propagating `-master.raftHashicorp` and `-master.raftBootstrap` flags when starting the master server. Related to #4307
2022-11-24[metrics] Add the ability to control bind ip (#4012)Jiffs Maverick1-1/+1
2022-10-12master fix interruption through ctrl+c (#3834)Konstantin Lebedev1-1/+1
2022-10-06master server graceful stop (#3797)Konstantin Lebedev1-0/+8
2022-09-14refactor(various): `Listner` -> `Listener` readability improvements (#3672)Ryan Russell1-3/+3
* 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>
2022-08-24Add raft server access mutex to avoid races (#3503)Patrick Schmidt1-4/+6
2022-08-07refactor and fix strings.Splitchrislu1-4/+1
2022-07-30Add healthy indicator for raft statusPatrick Schmidt1-2/+5
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-10/+10
2022-07-27"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"chrislu1-1/+1
2022-06-20master: put metadata under instance specific folderchrislu1-1/+4
2022-04-18Merge branch 'master' into slices.SortFuncleyou2401-11/+34
2022-04-18enhancement: replace sort.Slice with slices.SortFunc to reduce reflectionjustin1-3/+3
2022-04-05Merge branch 'new_master' into hashicorp_raftKonstantin Lebedev1-1/+1
# Conflicts: # go.mod # go.sum
2022-04-04add stats raft handlerKonstantin Lebedev1-1/+1
2022-04-04hashicorp raft with state machineKonstantin Lebedev1-13/+16
2022-04-04initial add hashicorp raftKonstantin Lebedev1-2/+22
2022-04-01use original server address string as map keychrislu1-1/+1
2022-03-26refactor: change masters from a slice to a mapchrislu1-6/+6
2022-03-26refactorchrislu1-1/+6
2022-03-17The fixes for https://github.com/chrislusf/seaweedfs/issues/1937 had a few ↵Berck Nash1-1/+1
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?
2022-03-16Add mTLS support for both master and volume http server.Berck Nash1-6/+37
2022-03-15master, filer, s3: also listen to "localhost" in addition to specific ip addresschrislu1-2/+8
related to https://github.com/chrislusf/seaweedfs/issues/1937
2022-03-11default bind to one ip addresschrislu1-1/+4
fix https://github.com/chrislusf/seaweedfs/issues/1937
2022-02-14[UPDATE] Make heartbeat interval and election timeout of masters configurable.garenchan1-2/+15
2022-01-19master metricsHttpPortKonstantin Lebedev1-0/+4
2021-11-05Revert "master: rename grpc function KeepConnected() to ↵Chris Lu1-1/+1
SubscribeVolumeLocationUpdates()" This reverts commit af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.
2021-11-03master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()Chris Lu1-1/+1
2021-09-20use default 10000 for grpc portChris Lu1-1/+5
2021-09-12change server address from string to a typeChris Lu1-12/+12
2021-09-12custom grpc port: masterChris Lu1-1/+3
2021-09-07better IP v6 supportChris Lu1-4/+3
2021-08-14Filer locationPrefix configure does not exec replication #2257Chris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2257
2021-08-12adjust data typeChris Lu1-1/+1
2021-03-24GOMAXPROCS use defaults to the value of runtime.NumCPUKonstantin Lebedev1-2/+0
https://github.com/chrislusf/seaweedfs/issues/1942
2021-03-23more help messageChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/1937
2021-03-12default to empty host to bind to tcp4 and tcp6Chris Lu1-1/+1
2021-03-08permitCommonNamesKonstantin Lebedev1-1/+0
https://github.com/chrislusf/seaweedfs/issues/1841 https://jbrandhorst.com/post/grpc-auth/
2020-12-07adding /usr/local/etc/seaweedfs for bsd style config search pathChris Lu1-1/+1
related to https://reviews.freebsd.org/D27391
2020-10-24go fmtChris Lu1-1/+1
2020-10-23adjust election timeout to 10 secondsChris Lu1-1/+1
2020-10-23make it easy with setting up multiple masters in a clcusterChris Lu1-0/+4
2020-10-16refactorChris Lu1-1/+1
2020-10-07master: check peers for existing leader before starting a leader electionChris Lu1-4/+22
fix https://github.com/chrislusf/seaweedfs/issues/1509
2020-10-03fix: resumeStateУстюжанин Антон Александрович1-1/+1
2020-10-03fix: restore raft stateУстюжанин Антон Александрович1-3/+3
2020-10-02fix: restore raft stateУстюжанин Антон Александрович1-3/+5