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
Chris Lu
076c8bd3bc
filer master start up with default ip address instead of just localhost
5 years ago
Chris Lu
5361f999ed
shell: only one shell is allowed to connect to the cluster
fix https://github.com/chrislusf/seaweedfs/issues/1266
5 years ago
Chris Lu
f6a7e79dc3
weed shell: simplify CLI option for filer
5 years ago
James Hartig
eae3f27c80
Added treat_replication_as_minimums master toml option
5 years ago
Chris Lu
6a8484b4ae
master able to list all master clients by type
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
f55f49970f
move volume server stats to grpc
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago
Chris Lu
de0c983808
refactoring scaffolding for master.toml
5 years ago
Lei Liu
46755ea1e1
fix master maintenance logic
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
stlpmo
62d393d6c9
ut pass
5 years ago
stlpmo
802a0eb3fe
move from cmd-line to scaffold
5 years ago
stlpmo
1c8bed3810
delete the var etcdClient and comments
refactor the code
add sequencer cmd-line
delete nerver used codes
5 years ago
Lei Liu
c2884cace2
misc updated
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
8afd8d35b3
master: followers can also lookup and redirect
improve scalability
5 years ago
Chris Lu
f16375621f
big refactoring
6 years ago
Chris Lu
d8ed73926d
volume servers get metrics address and interval from the master
6 years ago
Chris Lu
e66bddd84c
customizable sleep intervals
6 years ago
Chris Lu
50aa769554
jwt for read access control
6 years ago