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
李海
06be5dc6c3
log snowflake sequencer nodeid's hex when start, it'll be in part of new assigned fid
4 years ago
李海
69b2dab9c6
add a snowflake sequencer as more robust fid generator, but less compressable than small auto-inc id
4 years ago
Konstantin Lebedev
c4459249ef
ui interface is always on
4 years ago
Chris Lu
16cd6fb278
fix variable name
4 years ago
Konstantin Lebedev
eadbba5c95
security master use access.ui
4 years ago
Konstantin Lebedev
fc7baef5bb
fiil serverUrls sorted by data center
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
Chris Lu
f0c89cfacd
go fmt
4 years ago
Chris Lu
56244fb9a1
fix hard coded host address
4 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
393ab07c7c
disable pulse seconds
there are a few other hard coded timing settings, which will cause disconnected volume servers.
5 years ago
Chris Lu
d4235afe4d
support multiple locks
5 years ago
bingoohuang
ecdeef8c66
simplify func(w http.ResponseWriter, r *http.Request) to http.HandlerFunc
5 years ago
Chris Lu
662b5d0cf7
support semicolon seperated command lines
5 years ago
Chris Lu
73564e6a01
master: add cluster wide lock/unlock operation in weed shell
fix https://github.com/chrislusf/seaweedfs/issues/1286
5 years ago
Chris Lu
77873b832b
add master side code for cluster wise exclusive lock
5 years ago