chrislu
94fbf02ea2
generate jwt token when looking up needle id
fix https://github.com/seaweedfs/seaweedfs/issues/4577
2 years ago
wusong
2b82d0f871
style: clerical error ( #4361 )
2 years ago
chrislu
784daea1fa
fix volume not found if marked as read only
fix https://github.com/seaweedfs/seaweedfs/issues/4088
2 years ago
Guo Lei
d8cfa1552b
support enable/disable vacuum ( #4087 )
* stop vacuum
* suspend/resume vacuum
* remove unused code
* rename
* rename param
2 years ago
chrislu
c8645fd232
master: implement grpc VolumeMarkWritable
fix https://github.com/seaweedfs/seaweedfs/issues/3657
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
chrislu
9dfea44aeb
fix unit
3 years ago
chrislu
3142e77eca
mount: stats report physical size instead of logical size
3 years ago
chrislu
96496d5286
master: broadcast new volume locations to clients to avoid possible racing condition
fix https://github.com/chrislusf/seaweedfs/issues/3220
3 years ago
Konstantin Lebedev
1e35b4929f
shell vacuum volume by collection and volume id
3 years ago
Sebastian Kurfuerst
d156d410ef
rename security.GenJwt to security.GenJwtForVolumeServer
3 years ago
Chris Lu
332d49432d
reduce concurrent volume grow requests
3 years ago
Chris Lu
96119eab00
refactor
3 years ago
Chris Lu
2789d10342
go fmt
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
e93d4935e3
add other replica locations when assigning volumes
3 years ago
Chris Lu
7a13816e94
refactor
3 years ago
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