chrislu
ec155022e7
"golang.org/x/exp/slices" => "slices" and go fmt
3 days ago
dsd
72af97162f
[shell] feat:stop vacuum immediately once volume.vacuum.disable was executed ( #6375 )
stop vacuum immediately once volume.vacuum.disable was executed
Co-authored-by: dsd <dsd2019@foxmail.com>
4 days ago
Konstantin Lebedev
b65eb2ec45
[security] reload whiteList on http seerver ( #6302 )
* reload whiteList
* white_list add to scaffold
3 weeks ago
Konstantin Lebedev
e2e97db917
[master] avoid timeout when assigning for main request with filter by DC or rack ( #6291 )
* avoid timeout when assigning for main request with filter by DC or rack
https://github.com/seaweedfs/seaweedfs/issues/6290
* use constant NoWritableVolumes
4 weeks ago
Konstantin Lebedev
fec88e64eb
[master] update LastLeaderChangeTime for hashicorp raft ( #6292 )
4 weeks ago
Konstantin Lebedev
8836fa19b6
use ShouldGrowVolumesByDcAndRack ( #6280 )
4 weeks ago
chrislu
ccf1795e6f
wait a bit before getting the next volume id if the leader is recently elected
4 weeks ago
Konstantin Lebedev
7fa4e5c2a1
[master] Revert back automatic volume grow in case of compensate for crowded volumes ( #6267 )
brought back the Automatic Volume Grow to compensate for crowded volumes
1 month ago
Konstantin Lebedev
a49d9e020c
[master] avoid crowded more writable for auto grow ( #6214 )
avoid crowded more writable
https://github.com/seaweedfs/seaweedfs/issues/6121
1 month ago
Kevin Bulteel
4a0dc883cf
Fix/parse upload filename ( #6241 )
* fix: parse filename in PUT + refactor
* fix: master iu public url with http
* fix: better parsing and handle disposition header
* fix: take mime type from file extension if not set
1 month ago
wyang
a7973ed7d1
fix deadlock hang when broadcast to clients ( #6184 )
fix deadlock when broadcast to clients
when master thransfer leader, the old master will disconnect with all
filers and volumeServers, if the cluster is a big , the broadcast
messages may be more big than the max of the channel len 100, then if the
KeepConnect was not listen on the channel in disconnect, it will
deadlock. and the whole cluster will not serve!
2 months ago
Bruce
0060a2cf9c
Fix 6181/6182 ( #6183 )
* set larger buf size for LogBuffer
* jump to next day when no more entry found
* Update weed/filer/filer_notify_read.go
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 months ago
chrislu
ad6240f066
fix parameter
2 months ago
chrislu
8802843511
pass in bytes buffer to avoid possible race condition
related to https://github.com/seaweedfs/seaweedfs/issues/6180
2 months ago
chrislu
3feb66d0a1
adding more debug message
related to https://github.com/seaweedfs/seaweedfs/issues/6180
2 months ago
chrislu
ae5bd0667a
rename proto field from DestroyTime to expire_at_sec
For TTL volume converted into EC volume, this change may leave the volumes staying.
2 months ago
Guang Jiong Lou
9369a88c5c
stop renaming worm files ( #6154 )
* stop renaming worm file
Signed-off-by: lou <alex1988@outlook.com>
* update after review
Signed-off-by: lou <alex1988@outlook.com>
* Update weed/server/filer_server_handlers_write.go
---------
Signed-off-by: lou <alex1988@outlook.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 months ago
Guang Jiong Lou
54b91ba2b2
fix permission check in put request ( #6142 )
2 months ago
steve.wei
cfbe45c765
feat: add in-flight metric for s3/file/volume-server ( #6120 )
2 months ago
chrislu
6564ceda91
skip resource heavy commands from running on master nodes
3 months ago
coffeecloudgit
dad3a26fb6
Update volume_grpc_erasure_coding.go , fix no space left bug ( #6077 )
3 months ago
coffeecloudgit
6cbce110d5
Update volume_grpc_erasure_coding.go ( #6073 )
3 months ago
Neo
aa61824442
master:fix empty target in Build() ( #6069 )
3 months ago
LHHDZ
4dc33cc143
fix unclaimed spaces calculation when volumePreallocate is enabled ( #6063 )
the calculation of `unclaimedSpaces` only needs to subtract `unusedSpace` when `preallocate` is not enabled.
Signed-off-by: LHHDZ <shichanglin5@qq.com>
3 months ago
Max Denushev
d056c0ddf2
fix(volume): don't persist RO state in specific cases ( #6058 )
* fix(volume): don't persist RO state in specific cases
* fix(volume): writable always persist
3 months ago
zemul
028ebb1d0d
Feat:merge small chunk ( #6049 )
* fix:mount deadlock
* feat: merge small chunk
* adjust MergeChunkMinCount
* fix
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
3 months ago
Konstantin Lebedev
2b13d2c083
[filer] fix return 204 for DELETE on entry not found ( #6023 )
fix return 204 for DELETE on entry not found
3 months ago
Guang Jiong Lou
6c986e9d70
improve worm support ( #5983 )
* improve worm support
Signed-off-by: lou <alex1988@outlook.com>
* worm mode in filer
Signed-off-by: lou <alex1988@outlook.com>
* update after review
Signed-off-by: lou <alex1988@outlook.com>
* update after review
Signed-off-by: lou <alex1988@outlook.com>
* move to fs configure
Signed-off-by: lou <alex1988@outlook.com>
* remove flag
Signed-off-by: lou <alex1988@outlook.com>
* update after review
Signed-off-by: lou <alex1988@outlook.com>
* support worm hardlink
Signed-off-by: lou <alex1988@outlook.com>
* update after review
Signed-off-by: lou <alex1988@outlook.com>
* typo
Signed-off-by: lou <alex1988@outlook.com>
* sync filer conf
Signed-off-by: lou <alex1988@outlook.com>
---------
Signed-off-by: lou <alex1988@outlook.com>
3 months ago
dsd
151f2ff7a9
prevent dead loop for followers of master node ( #6007 )
* prevent dead loop for followers of master node
* fix comments
---------
Co-authored-by: levi <344887649@foxmail.com>
3 months ago
Konstantin Lebedev
34bbaa2cdd
[master] process grow request with must grow ( #5999 )
process grow request with must grow
3 months ago
Konstantin Lebedev
15965f7c54
[shell] fix volume grow in shell ( #5992 )
* fix volume grow in shell
* revert add Async
* check available volume space
* create a VolumeGrowRequest and remove unnecessary fields
3 months ago
chrislu
43d9f68219
more consistent server header for s3 apis
3 months ago
chrislu
ff3d46637d
better logging for volume growth
4 months ago
chrislu
accba3070a
refactor
4 months ago
Eugeniy E. Mikhailov
d6b0e0ff1c
Remove "Content-Length" header if http.Error is issued ( #5981 )
4 months ago
Konstantin Lebedev
67a252ee8a
[master] refactor func ShouldGrowVolumes ( #5884 )
4 months ago
chrislu
18afdb15b6
Revert "weed mount, weed dav add option to force cache"
This reverts commit 7367b976b0
.
4 months ago
chrislu
7367b976b0
weed mount, weed dav add option to force cache
4 months ago
chrislu
8d5a6d7e74
fix for spreading ec shards
4 months ago
chrislu
8e4bffc66b
copy ec shards to disks already having ec volumes
fix https://github.com/seaweedfs/seaweedfs/issues/5615
4 months ago
chrislu
8679870008
fix typo
4 months ago
chrislu
22d5d2ea96
adjust warning log
4 months ago
chrislu
a4b25a642d
math/rand => math/rand/v2
4 months ago
chrislu
3b7bb62e38
logs on error
4 months ago
chrislu
4463296811
add parallel vacuuming
4 months ago
zemul
95bae91ca7
Fix get dir metadata ( #5923 )
* fix:mount deadlock
* feat: query dir metadata
* feat: query dir metadata
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
4 months ago
Riccardo Bertossa
6fe8639504
add http endpoint to get the size of a collection ( #5910 )
4 months ago
augustazz
db833abfa2
fix ec volume lookup data sync ( #5900 )
4 months ago
augustazz
0b00706454
EC volume supports expiration and displays expiration message when executing volume.list ( #5895 )
* ec volume expire
* volume.list show DestroyTime
* comments
* code optimization
---------
Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
4 months ago
chrislu
fdf7193ae7
rename
4 months ago