aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
AgeCommit message (Collapse)AuthorFilesLines
2025-05-22WIPorigin/changing-to-zapchrislu1-11/+11
2025-02-06fix: bucket-hook fails with gnu wget (#6521)Ethan Mosbaugh1-1/+1
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-1/+1
2024-09-13[master] master missing start LoopPushingMetric routine fixed. (#6018)zouyixiong1-1/+1
2024-08-21add parallel vacuumingchrislu1-12/+15
2024-07-16Added loadSecurityConfigOnce (#5792)vadimartynov1-1/+1
2024-07-12-metricsIp cmd flag (#5773)vadimartynov1-1/+11
* Added/Updated: - Added metrics ip options for all servers; - Fixed a bug with the selection of the binIp or ip parameter for the metrics handler; * Fixed cmd flags
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev1-3/+3
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov1-1/+2
* 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
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/