Konstantin Lebedev
a98f6d66a3
rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
bb01b68fa0
refactor
2 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
Konstantin Lebedev
c88ea31f62
fix RUnlock of unlocked RWMutex
2 years ago
Konstantin Lebedev
3c42814b58
avoid deadlock
2 years ago
Konstantin Lebedev
93ca87b7cb
use safe onPeerUpdateDoneCns
2 years ago
Konstantin Lebedev
7875470e74
onPeerUpdateGoroutineCount use int32
2 years ago
Konstantin Lebedev
6c390851e7
fix design
2 years ago
Konstantin Lebedev
f6a966b4fc
add waiting log message
2 years ago
Konstantin Lebedev
6cfbfb0849
check for ping before deleting raft server
https://github.com/chrislusf/seaweedfs/issues/3083
2 years ago
Konstantin Lebedev
f419d5643a
fix typo
add remove logs
2 years ago
chrislu
24291e23eb
refactor
2 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
chrislu
6adc42147f
fresh filer store bootstrap from the oldest peer
3 years ago
chrislu
b201edb9df
fix wrong assignment
3 years ago
chrislu
9271866d1e
fix segmentation violation
fix https://github.com/chrislusf/seaweedfs/issues/3000
3 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
Konstantin Lebedev
a2fdb3e277
fix master ui
3 years ago
Konstantin Lebedev
35bc67f030
fix conflicts
3 years ago
Konstantin Lebedev
7ff248d5cd
refactor OnPeerUpdate
3 years ago
Konstantin Lebedev
85d80fd36d
fix removing old raft server
3 years ago
Konstantin Lebedev
14a2cc83bf
raft update peers via OnPeerUpdate
3 years ago
Konstantin Lebedev
14dd971890
hashicorp raft with state machine
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
Konstantin Lebedev
28efe31524
new master metrics
3 years ago
chrislu
826a7b307e
master: remove hard coded filer settings in master.toml
fix https://github.com/chrislusf/seaweedfs/issues/2529
3 years ago
chrislu
4b8dcff448
reverting default admin scripts
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.
3 years ago
chrislu
40ee9b4d7b
sleep between the gap of each execution
related to https://github.com/chrislusf/seaweedfs/issues/2476
3 years ago
chrislu
b70cb3e0b2
upgrade protoc to 3.17.3
$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
3 years ago
Chris Lu
3d7390302d
add s3.clean.uploads -timeAgo=24h
3 years ago
Chris Lu
4729a57cc0
use constants
3 years ago
Chris Lu
d9dd72ea56
rename pacakge
3 years ago
Chris Lu
330d1fde7f
send peers info to filers
3 years ago
Chris Lu
84bb8e7365
send peers info to filers
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
77f90ae288
add leader election in master
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
5160eb08f7
shell: optionally read filer address from master
3 years ago
Chris Lu
bf218cd59d
removing etcd sequencer
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
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
5571f4f70a
master: add master.follower to handle read file id lookup requests
3 years ago
Chris Lu
5469019852
adjust data type
3 years ago
Chris Lu
c5f38c365d
go fmt
3 years ago
Chris Lu
d84c311699
refactoring
3 years ago
Chris Lu
ac28611817
snowflake sequencer need an unique id
fix https://github.com/chrislusf/seaweedfs/issues/2213
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
qieqieplus
c4d32f6937
ahead of time volume assignment
4 years ago