aboutsummaryrefslogtreecommitdiff
path: root/weed/server/master_server.go
AgeCommit message (Collapse)AuthorFilesLines
2022-10-06master server graceful stop (#3797)Konstantin Lebedev1-11/+26
2022-08-26avoid race conditions for OnPeerUpdate (#3525)Konstantin Lebedev1-1/+1
https://github.com/seaweedfs/seaweedfs/issues/3524
2022-08-24Add raft server access mutex to avoid races (#3503)Patrick Schmidt1-6/+16
2022-08-23ping timeout at 15 secondschrislu1-1/+1
this 72 minute timeout setting seems unreasonably long 15 seconds is around the time when a new raft leader should be elected.
2022-08-23remove old raft servers if they don't answer to pings for too long (#3398)askeipx1-4/+29
* 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
2022-08-11avoid infinite loop WaitUntilConnected() (#3431)Konstantin Lebedev1-3/+1
https://github.com/seaweedfs/seaweedfs/issues/3421
2022-08-01Merge pull request #3338 from kmlebedev/issues/3083Chris Lu1-50/+12
rollback over onPeerUpdate implementation of automatic clean-up of failed servers in favor of synchronous ping
2022-08-01rollback over onPeerupdate implementation of automatic clean-up of failed ↵Konstantin Lebedev1-98/+12
servers in favor of synchronous ping
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-11/+11
2022-07-28refactorchrislu1-1/+1
2022-07-28add dc and rackchrislu1-1/+1
2022-07-27"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"chrislu1-1/+1
2022-07-26fix RUnlock of unlocked RWMutexKonstantin Lebedev1-1/+0
2022-07-21avoid deadlockKonstantin Lebedev1-2/+10
2022-07-21use safe onPeerUpdateDoneCnsKonstantin Lebedev1-12/+32
2022-07-20onPeerUpdateGoroutineCount use int32Konstantin Lebedev1-4/+4
2022-07-20fix designKonstantin Lebedev1-5/+6
2022-07-20add waiting log messageKonstantin Lebedev1-0/+1
2022-07-20check for ping before deleting raft serverKonstantin Lebedev1-1/+20
https://github.com/chrislusf/seaweedfs/issues/3083
2022-07-19fix typoKonstantin Lebedev1-8/+11
add remove logs
2022-05-30fresh filer store bootstrap from the oldest peerchrislu1-1/+1
2022-05-03fix wrong assignmentchrislu1-1/+2
2022-05-02fix segmentation violationchrislu1-0/+1
fix https://github.com/chrislusf/seaweedfs/issues/3000
2022-05-01filer: add filer groupchrislu1-2/+2
2022-04-07fix master uiKonstantin Lebedev1-23/+30
2022-04-07fix conflictsKonstantin Lebedev1-1/+2
2022-04-07refactor OnPeerUpdateKonstantin Lebedev1-7/+8
2022-04-07fix removing old raft serverKonstantin Lebedev1-15/+34
2022-04-06raft update peers via OnPeerUpdateKonstantin Lebedev1-2/+44
2022-04-04hashicorp raft with state machineKonstantin Lebedev1-10/+32
2022-03-26refactor: change masters from a slice to a mapchrislu1-1/+1
2022-01-24new master metricsKonstantin Lebedev1-0/+2
2022-01-12master: remove hard coded filer settings in master.tomlchrislu1-10/+5
fix https://github.com/chrislusf/seaweedfs/issues/2529
2021-12-20reverting default admin scriptschrislu1-11/+1
fix https://github.com/chrislusf/seaweedfs/issues/2525 this new default value was introduced in 2.80 this affects production environments, e.g., EC is not desired, volume balancing is not preferred, etc.
2021-12-07sleep between the gap of each executionchrislu1-2/+2
related to https://github.com/chrislusf/seaweedfs/issues/2476
2021-12-05upgrade protoc to 3.17.3chrislu1-0/+1
$brew install protobuf $ protoc --version libprotoc 3.17.3 $ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
2021-11-29add s3.clean.uploads -timeAgo=24hChris Lu1-4/+15
2021-11-08use constantsChris Lu1-1/+1
2021-11-08rename pacakgeChris Lu1-3/+3
2021-11-06send peers info to filersChris Lu1-2/+2
2021-11-05Revert "master: rename grpc function KeepConnected() to ↵Chris Lu1-1/+1
SubscribeVolumeLocationUpdates()" This reverts commit af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.
2021-11-04add leader election in masterChris Lu1-2/+3
2021-11-03master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()Chris Lu1-1/+1
2021-11-02shell: optionally read filer address from masterChris Lu1-0/+3
2021-10-10removing etcd sequencerChris Lu1-10/+0
causing go mod tidy problem. If anyone wants this, please help to resolve this first. github.com/chrislusf/seaweedfs/weed/sequence imports go.etcd.io/etcd/client tested by go.etcd.io/etcd/client.test imports github.com/coreos/etcd/integration imports github.com/coreos/etcd/proxy/grpcproxy imports google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.41.0), but does not contain package google.golang.org/grpc/naming
2021-09-12change server address from string to a typeChris Lu1-8/+7
2021-09-07handle ipv6 addressesChris Lu1-2/+2
2021-08-12master: add master.follower to handle read file id lookup requestsChris Lu1-3/+6
2021-08-12adjust data typeChris Lu1-1/+1
2021-08-08go fmtChris Lu1-2/+2