Konstantin Lebedev
2b3e39397e
fix: skipping checking active volumes with the same number of files at the moment ( #4893 )
* fix: skipping checking active volumes with the same number of files at the moment
https://github.com/seaweedfs/seaweedfs/issues/4140
* refactor with comments
https://github.com/seaweedfs/seaweedfs/issues/4140
* add TestShouldSkipVolume
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
Jiffs Maverick
4b0430e71d
[metrics] Add the ability to control bind ip ( #4012 )
2 years ago
Guo Lei
5b905fb2b7
Lazy loading ( #3958 )
* types packages is imported more than onece
* lazy-loading
* fix bugs
* fix bugs
* fix unit tests
* fix test error
* rename function
* unload ldb after initial startup
* Don't load ldb when starting volume server if ldbtimeout is set.
* remove uncessary unloadldb
* Update weed/command/server.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
* Update weed/command/volume.go
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: guol-fnst <goul-fnst@fujitsu.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 years ago
famosss
cacc3e883b
volume server:set the default value of "hasSlowRead" to true ( #3710 )
* simplify a bit
* feat: volume: add "readBufSize" option to customize read optimization
* refactor : redbufSIze -> readBufferSize
* simplify a bit
* simplify a bit
* volume server:set the default value of "hasSlowRead" to true
2 years ago
Konstantin Lebedev
301b678147
[volume] Add new volumes to HUP(reload) signal ( #3755 )
Add new volumes to HUP(reload) signal
2 years ago
chrislu
10d5b4b32b
volume server: rename readBufferSize to readBufferSizeMB
2 years ago
famosss
d949a238b8
volume: add "readBufSize" option to customize read optimization ( #3702 )
* simplify a bit
* feat: volume: add "readBufSize" option to customize read optimization
* refactor : redbufSIze -> readBufferSize
* simplify a bit
* simplify a bit
2 years ago
chrislu
cf90f76a35
mark "hasSlowRead" as experimental
2 years ago
chrislu
896a85d6e4
volume: add "hasSlowRead" option to customize read optimization
2 years ago
chrislu
9b084d4c88
purge tcp implementation
2 years ago
chrislu
3f3a1341d8
make CodeQL happy
2 years ago
chrislu
67814a5c79
refactor and fix strings.Split
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
liubaojiang
076e48a676
add inflight upload data wait timeout
3 years ago
guol-fnst
076595fbdd
just exit in case of duplicated volume directories were loaded
3 years ago
Berck Nash
9b14f0c81a
Add mTLS support for both master and volume http server.
3 years ago
chrislu
3a6eb8ca5f
default bind to one ip address
fix https://github.com/chrislusf/seaweedfs/issues/1937
3 years ago
chrislu
18543c6e8b
minor
3 years ago
Konstantin Lebedev
526094d2da
StopTimeout 30 sec
3 years ago
Konstantin Lebedev
275e9a4e86
reduce to default http server KillTimeout and StopTimeout
3 years ago
chrislu
8907e6a40a
add more help messages
3 years ago
Chris Lu
52fe86df45
use default 10000 for grpc port
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
e690a2be16
custom grpc port: volume server
3 years ago
Chris Lu
574485ec69
better IP v6 support
3 years ago
Chris Lu
734c980040
volume: support concurrent download data size limit
3 years ago
Chris Lu
49c66e88a0
volume: change all writes to fsync during graceful stopping
fix https://github.com/chrislusf/seaweedfs/issues/2193
3 years ago
Chris Lu
5bcc77b46c
volume: default readMode to proxy
4 years ago
Chris Lu
b624090398
go fmt
4 years ago
zhangsong
20d33ae025
add proxy mode to read non-local volumes
4 years ago
zhangsong
7566782c2e
add proxy mode to read non-local volumes
4 years ago
bingoohuang
cf552417a7
minFreeSpace refactored
4 years ago
bingoohuang
31f1cdeac2
minFreeSpace argument allows size like 10GiB
4 years ago
Chris Lu
8e404a1433
go fmt
4 years ago
Chris Lu
ac875976c0
filer, volume: add concurrent upload size limit to avoid OOM
add some back pressure when writes are slow
4 years ago
Konstantin Lebedev
9ce82a9cd2
GOMAXPROCS use defaults to the value of runtime.NumCPU
https://github.com/chrislusf/seaweedfs/issues/1942
4 years ago
Chris Lu
c42b95c596
more help message
fix https://github.com/chrislusf/seaweedfs/issues/1937
4 years ago
Chris Lu
2a68ddb963
default to empty host to bind to tcp4 and tcp6
4 years ago
Chris Lu
60686a0bb7
make tcp optional
4 years ago
Chris Lu
400de380f4
volume server: support tcp direct put/get/delete
4 years ago
Chris Lu
62191b08ea
disk type support custom tags
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
0bc3a1f9e8
disk type only supports hdd and ssd, not ready for random tags yet
4 years ago
Chris Lu
ef76365ec2
adjust help message
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
f6a419c26c
disk type configurable for each folder
4 years ago
Chris Lu
7c52a35942
refactor
4 years ago
Chris Lu
8baba93fce
rename parameter name to "disk"
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago