Chris Lu
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
4 years ago
Chris Lu
983fd90010
marked as WIP
4 years ago
Chris Lu
b11449f955
pass in dir.idx parameter to DiskLocation
4 years ago
Chris Lu
47047516d6
Revert "increase default volume file size limit to 1024"
This reverts commit 0983060a
I am confused why this was changed to 1024 by myself. 1GB should be too large for most cases.
4 years ago
Chris Lu
c543762e23
volume: auto expands -max setting
I have tried to run weed volume but got errors...
cmd:
weed volume -max=0 -mserver="127.0.0.1:9333" -port=8080 -dir="/var/www/d1/sfs,/var/www/d2/sfs,/var/www/d3/sfs"
log:
I1006 15:09:26 17040 file_util.go:23] Folder /var/www/d1/sfs Permission: -rwxr-xr-x
I1006 15:09:26 17040 file_util.go:23] Folder /var/www/d2/sfs Permission: -rwxr-xr-x
I1006 15:09:26 17040 file_util.go:23] Folder /var/www/d3/sfs Permission: -rwxr-xr-x
F1006 15:09:26 17040 volume.go:142] 3 directories by -dir, but only 1 max is set by -max
What am I doing wrong? Thx.
4 years ago
Chris Lu
4856bce0ee
adjust for metrics port
4 years ago
Konstantin Lebedev
324e44d4b3
add start metrics server
4 years ago
Chris Lu
5d6753fb98
shell: add volumeServer.leave command
4 years ago
Chris Lu
1af95c5b76
refactoring
4 years ago
Chris Lu
cd9b89ba55
reduce default wait time to 10s before shutting down
4 years ago
Chris Lu
6bc618051c
log message
4 years ago
Chris Lu
9dae4e9d3e
fix logs
4 years ago
Chris Lu
4c1a3187bf
fix log error
4 years ago
Konstantin Lebedev
464d4c82ec
stop send heartbeat before stop volume server
4 years ago
Chris Lu
0983060a90
increase default volume file size limit to 1024
avoid possible large chunk size set on mount or filer
4 years ago
Chris Lu
f43146b237
resolve directories if containing home directory
5 years ago
李远军
6608cb5f43
Revert "remove fixJpgOrientation"
This reverts commit de5ca9b2
5 years ago
Chris Lu
acf4a9ea99
volume: min free space default to 1%
5 years ago
Chris Lu
4d1484628a
refactoring
5 years ago
Chris Lu
12f6b683fc
default to 8 volumes
in case all the volumes are allocated for a collection
5 years ago
Chris Lu
98493e0152
volume: add default minFreeSpacePercent
fix https://github.com/chrislusf/seaweedfs/issues/1366
5 years ago
Chris Lu
e7c36f740a
refactoring
5 years ago
Chris Lu
8b4a32e782
adjust help message
5 years ago
Chris Lu
b4ec04d464
fix the help message
5 years ago
Chris Lu
de5ca9b258
remove fixJpgOrientation
5 years ago
Chris Lu
48880edc2c
volume: fix typo in minFreeSpacePercent option
5 years ago
Chris Lu
b9365de47b
fix volume server pprof
5 years ago
Kimbsen
03e8f976d9
added --pprof to volume servers
5 years ago
Chris Lu
45a9d852d3
go fmt
5 years ago
Evgenii Kozlov
2410ffbd79
Name fix
5 years ago
Evgenii Kozlov
0e0db70f55
Set volumes ReadOnly if low free disk space
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
bc2ec6774d
inject git version into build
5 years ago
wuyuxiang
6850d28d6b
refacotr: move signal handling and pprof to grace package
5 years ago
Chris Lu
767f14dfcd
master, volume default to detected host
5 years ago
Chris Lu
8db2120bee
add logs
5 years ago
Chris Lu
59f40e2027
volume: best effort to detect ip address
fix https://github.com/chrislusf/seaweedfs/issues/1264
5 years ago
Chris Lu
e32999108a
add auto configured volume max count help messge
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago
Chris Lu
3eafec4b29
volume: add option to limit file size
5 years ago
stlpmo
ea9d1ebd2f
resolve the Duration.Milliseconds() is not exist in golang v11 & v12
5 years ago
stlpmo
753138a3f7
test passed
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
f16375621f
big refactoring
6 years ago
Chris Lu
d8ed73926d
volume servers get metrics address and interval from the master
6 years ago
Chris Lu
5f6c9825f8
volume server: adds basic metrics
6 years ago
Chris Lu
ede876cfdb
periodic scripts exeuction from leader master
6 years ago
Chris Lu
d01807ba05
shell: volume.balance add option for all_collections, each_collection
6 years ago