Konstantin Lebedev
b65eb2ec45
[security] reload whiteList on http seerver ( #6302 )
* reload whiteList
* white_list add to scaffold
3 weeks 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
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
896a85d6e4
volume: add "hasSlowRead" option to customize read optimization
2 years ago
chrislu
3f3a1341d8
make CodeQL happy
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
liubaojiang
1a41691b4c
exclude replication from the concurrentUploadLimitMB
3 years ago
guol-fnst
076595fbdd
just exit in case of duplicated volume directories were loaded
3 years ago
guol-fnst
de6aa9cce8
avoid duplicated volume directory
3 years ago
chrislu
9b04f17555
remove dead code
3 years ago
chrislu
0562fceb99
volume: fail fast if too many concurrent requests, to avoid dead lock due to replication.
fix https://github.com/chrislusf/seaweedfs/issues/2755
3 years ago
Konstantin Lebedev
9ea09cc41c
healthz check to avoid drain pod with last replicas
3 years ago
chrislu
b70cb3e0b2
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
734c980040
volume: support concurrent download data size limit
3 years ago
Chris Lu
96ce85f5ae
rename
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
8fe75692ee
volume: address "unaligned 64-bit atomic operation"
fix https://github.com/chrislusf/seaweedfs/issues/2177
4 years ago
Chris Lu
b624090398
go fmt
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
ac875976c0
filer, volume: add concurrent upload size limit to avoid OOM
add some back pressure when writes are slow
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
bingoohuang
94ea3bd3a5
renaming NeedleMapType to NeedleMapKind
4 years ago
Chris Lu
f6a419c26c
disk type configurable for each folder
4 years ago
Chris Lu
7c52a35942
refactor
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
b11449f955
pass in dir.idx parameter to DiskLocation
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
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
e861a6a3ab
simplify metrics configuration logic
4 years ago
Chris Lu
913a16268d
volume: load configuration from master at the start
fix https://github.com/chrislusf/seaweedfs/issues/1469
4 years ago
Chris Lu
5d6753fb98
shell: add volumeServer.leave command
4 years ago
Konstantin Lebedev
464d4c82ec
stop send heartbeat before stop volume server
4 years ago
Chris Lu
1901f15cd2
volume server: remove whitelist for status checking
Volume liveness/readiness not work if jwt enabled, I try use param
-whiteList
but jwt breaks
4 years ago
李远军
6608cb5f43
Revert "remove fixJpgOrientation"
This reverts commit de5ca9b2
5 years ago
Chris Lu
4d1484628a
refactoring
5 years ago
Chris Lu
de5ca9b258
remove fixJpgOrientation
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
f55f49970f
move volume server stats to grpc
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago