Chris Lu
31583b5d6c
master and volume server: avoid race condition
The volume server may disconnect and reconnect to the same master.
The master's unregistration may happen after the reconnection. Thus the volume server will disappear.
5 years ago
Chris Lu
3137777d83
volume: automatically detect max volume count
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago
Chris Lu
97ab8a1976
remove ctx if possible
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago
Chris Lu
0da7b894cc
pass backend config from master to volume servers
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
d8ed73926d
volume servers get metrics address and interval from the master
6 years ago
Chris Lu
713596e781
caching ec shard locations
6 years ago
Chris Lu
03b9291e5d
volum server passes grpc option and master location to store
6 years ago
Chris Lu
a4f3d82c57
convert needle id to ec intervals to read from
6 years ago
Chris Lu
6f4b09b6a4
pb shard info uses ShardBits instead one message for one shard
6 years ago
Chris Lu
17ac1290c0
volume: load ec shards during heartbeats to master
6 years ago
Chris Lu
017d0957c3
avoid switching master node if same ip and host name
fix https://github.com/chrislusf/seaweedfs/issues/955
6 years ago
Wine93
32f93fb09e
style: go fmt for all
6 years ago
Chris Lu
108d0fb08d
adjust log level
6 years ago
Chris Lu
0302b9496c
volume: also check cookie for possible duplicates
6 years ago
Chris Lu
6fc1f53018
shell: add command volume.move
6 years ago
Chris Lu
79c2cca9c1
better error message
6 years ago
Chris Lu
6e116b3d67
volume: reset leader if error happens
6 years ago
Chris Lu
3e8a3a8fec
fix race detector found problems
6 years ago
Chris Lu
da871896c3
weed filer: set grpc port to port + 10000
6 years ago
Chris Lu
55bab1b456
add context.Context
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
4ff4a147b2
cleanup security.Secret
6 years ago
Chris Lu
67e2ea72be
master add separate grpc port
due to https://github.com/soheilhy/cmux/issues/64
fix https://github.com/chrislusf/seaweedfs/issues/820
fix https://github.com/chrislusf/seaweedfs/issues/840
fix https://github.com/chrislusf/seaweedfs/issues/841
6 years ago
chenwanli
80cf99db1b
Set rpc dial timeout to 5s
6 years ago
chenwanli
41fe31b5d0
Speed up heartbeat to new master leader
6 years ago
Chris Lu
67d1e572ca
rename files
6 years ago
Chris Lu
76cbe8bf33
instant notification of new volumes added or deleted
6 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
77fc8c5914
keep alive for gRpc calls
7 years ago
Chris Lu
43e3f5724c
use fixed list of masters in both filer and volume servers
7 years ago
Chris Lu
942c2cbd7b
mv pb to master_pb
7 years ago
Chris Lu
a337b844ec
properly send heartbeats
fix https://github.com/chrislusf/seaweedfs/issues/476
8 years ago
Chris Lu
c2ce97785f
set the volume size limit
fixing https://github.com/chrislusf/seaweedfs/issues/447
8 years ago
Chris Lu
5b0f5f456e
volume server get notified of leader change
8 years ago
Chris Lu
3065506b38
volume servers always connect to the master leader
8 years ago
Chris Lu
e767c3ea4f
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
8 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 years ago