chrislu
fc4208d128
volume.balance: default to balance ALL_COLLECTIONS
2 years ago
chrislu
4260804613
volume.balance: avoid moving out volume with max=1
2 years ago
chrislu
d653c5f811
unused
2 years ago
chrislu
676e27c589
shell: stop long running jobs if lock is lost
2 years ago
qzh
74b53729e1
feat(weed.move): add a speed limit parameter of moving files ( #3478 )
* feat(weed.move): add a speed limit parameter of moving files
* fix(weed.move): set the default value of ioBytePerSecond to vs.compactionBytePerSecond
Co-authored-by: zhihao.qu <zhihao.qu@ly.com>
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
141f662734
edge case checking when volume server does not have capacity to balance
fix https://github.com/chrislusf/seaweedfs/issues/3257
3 years ago
chrislu
6793bc853c
help message when in simulation mode
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
chrislu
f18803424a
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
3 years ago
chrislu
a2d3f89c7b
add lock messages
3 years ago
Chris Lu
119d5908dd
shell: do not need to lock to see volume -h
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
057ef429ac
format
3 years ago
Chris Lu
0526db12e2
do not treat read only volumes differently
3 years ago
Chris Lu
e50a5b8e28
minor: print disk type
3 years ago
Chris Lu
db6275a0c8
print out balance ratio
3 years ago
Chris Lu
69a6da7969
avoid fail on tail error
3 years ago
Chris Lu
2ae9705442
adjust text
3 years ago
Chris Lu
3739717092
Revert "adds a test"
This reverts commit f690643b47
.
3 years ago
Chris Lu
f690643b47
adds a test
3 years ago
Chris Lu
6de786185d
volume.balance: balance read only volumes first
3 years ago
Chris Lu
a4cfffc264
shell: fix moving volume, volume server evacuate
fix https://github.com/chrislusf/seaweedfs/issues/1534
4 years ago
Chris Lu
352ba23f83
revert previous change
revert 29e62aba00
4 years ago
Chris Lu
29e62aba00
possible fix for volume balance
address https://github.com/chrislusf/seaweedfs/issues/1534
4 years ago
Chris Lu
1c233ad986
refactoring
4 years ago
Chris Lu
43101ccea0
move to the empty nodes first
4 years ago
Chris Lu
38bbef7ec1
avoid nil
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
876dbe3d26
collect disk types
4 years ago
Chris Lu
861f8fab9b
refactoring
4 years ago
Chris Lu
770393a48c
volume: add capability to change disk type when moving a volume
4 years ago
Chris Lu
2260864b45
a cleaner fix
4 years ago
Chris Lu
b7fef8f693
fix when a volume server has only hdd volumes
4 years ago
Chris Lu
5cffddebb9
add logging
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
17372ac3da
balance ssd volumes
4 years ago
Chris Lu
7385103057
fix volume placement validating
fix https://github.com/chrislusf/seaweedfs/issues/1626
4 years ago
Chris Lu
a595916342
shell: add volumeServer.evacuate command
4 years ago
Chris Lu
446e476a11
go fmt
4 years ago
Chris Lu
d15682b4a1
shell: volume.balance plan by ratio of fullness
4 years ago
Chris Lu
e2c741f76f
adjust replica placement after move
4 years ago
Chris Lu
12a8f5294d
test for multi dc replication
4 years ago
Chris Lu
e60b2117c3
shell: volume balance follows replica placement
4 years ago
Chris Lu
89a62e8007
refactoring
4 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
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
3a1d017de2
shell: ensure dc and rack does not change for replicated volumes
fix https://github.com/chrislusf/seaweedfs/issues/1203
5 years ago
Chris Lu
c7d5a0b00c
adjust help message
5 years ago
Chris Lu
2cbe79acda
fix typo in command help
5 years ago