Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
5571f4f70a
master: add master.follower to handle read file id lookup requests
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
qieqieplus
c4d32f6937
ahead of time volume assignment
4 years ago
Patrick Schmidt
5f7b024891
Show the real disk usage in stats calls
Currently the file size of only one volume location is taken into
account in the stats. This commit multiplies the disk usages by the
amount of nodes holding a replica of the volume.
This will yield the expected amount of disk usage and matches the
total size calculations from before.
4 years ago
Chris Lu
73958e357d
add descriptive error if no free volumes
4 years ago
Chris Lu
3fe628f04e
use hdd instead of empty string
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
4bd8a692d8
disk type can be generic tags
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
a9db24cd05
master allocate volumes if ssd type runs out
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
d156c74ec0
volume server set volume type and heartbeat to the master
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
965413c21b
shell: add volume.vacuum command
4 years ago
Chris Lu
62d3d3aea0
go fmt
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
55cb68c09c
filer: replication follows master config if not specified
4 years ago
Chris Lu
d013d09a9b
adjust logging
4 years ago
Chris Lu
2c21eb1971
volume: get metrics configuration from master
fix https://github.com/chrislusf/seaweedfs/issues/1354
4 years ago
Chris Lu
c9202c4b3d
add storage backend to GetMasterConfigurationResponse
4 years ago
Chris Lu
34a0d424f8
FUSE mount: report max volume count available disk space
5 years ago
Chris Lu
09ca936c78
shell: add ec.decode command
5 years ago
zhangsong
61fa485700
add volume number param in assign operation
5 years ago
Lei Liu
c2884cace2
misc updated
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
Chris Lu
faec9076a4
adjust parameter names
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
Tom Maxwell
4a878c0006
Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
d5560f2705
simplify metrics settings
6 years ago
Chris Lu
f16375621f
big refactoring
6 years ago
Chris Lu
2858a954b3
read ec volume shards locations from master
6 years ago
Chris Lu
3ff92037cc
shell: add volume.balance command
6 years ago
Chris Lu
25941e0500
master: add jwt expires_after_seconds
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
aca653c08b
weed shell: list volumes
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
74fb237727
benchmark can work in secure mode
6 years ago
chenwanli
b71d6f4b88
Fix https://github.com/chrislusf/seaweedfs/issues/830
6 years ago
Chris Lu
86dd933596
go fmt
6 years ago
Chris Lu
444dfded84
add fs.FSStatfser for SeaweedFS weed mount
6 years ago
Chris Lu
5065d4ab2d
master add grpc API for fileid assigning
6 years ago