aboutsummaryrefslogtreecommitdiff
path: root/weed/server
AgeCommit message (Collapse)AuthorFilesLines
2024-09-24fix unclaimed spaces calculation when volumePreallocate is enabled (#6063)LHHDZ2-0/+9
the calculation of `unclaimedSpaces` only needs to subtract `unusedSpace` when `preallocate` is not enabled. Signed-off-by: LHHDZ <shichanglin5@qq.com>
2024-09-24fix(volume): don't persist RO state in specific cases (#6058)Max Denushev1-1/+1
* fix(volume): don't persist RO state in specific cases * fix(volume): writable always persist
2024-09-23Feat:merge small chunk (#6049)zemul3-5/+66
* fix:mount deadlock * feat: merge small chunk * adjust MergeChunkMinCount * fix --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2024-09-16[filer] fix return 204 for DELETE on entry not found (#6023)Konstantin Lebedev1-5/+1
fix return 204 for DELETE on entry not found
2024-09-16improve worm support (#5983)Guang Jiong Lou2-19/+59
* 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>
2024-09-11prevent dead loop for followers of master node (#6007)dsd1-2/+8
* prevent dead loop for followers of master node * fix comments --------- Co-authored-by: levi <344887649@foxmail.com>
2024-09-09[master] process grow request with must grow (#5999)Konstantin Lebedev1-17/+35
process grow request with must grow
2024-09-09[shell] fix volume grow in shell (#5992)Konstantin Lebedev1-0/+47
* fix volume grow in shell * revert add Async * check available volume space * create a VolumeGrowRequest and remove unnecessary fields
2024-09-09more consistent server header for s3 apischrislu1-3/+3
2024-09-07better logging for volume growthchrislu3-1/+9
2024-09-07refactorchrislu1-2/+2
2024-09-05Remove "Content-Length" header if http.Error is issued (#5981)Eugeniy E. Mikhailov1-0/+4
2024-09-04[master] refactor func ShouldGrowVolumes (#5884)Konstantin Lebedev1-14/+33
2024-09-04Revert "weed mount, weed dav add option to force cache"chrislu1-2/+1
This reverts commit 7367b976b05bfa69158a60f205dec970c48f50f0.
2024-09-04weed mount, weed dav add option to force cachechrislu1-1/+2
2024-09-03fix for spreading ec shardschrislu1-4/+11
2024-09-03copy ec shards to disks already having ec volumeschrislu2-2/+7
fix https://github.com/seaweedfs/seaweedfs/issues/5615
2024-08-30fix typochrislu1-1/+1
2024-08-30adjust warning logchrislu1-1/+1
2024-08-29math/rand => math/rand/v2chrislu7-13/+13
2024-08-26logs on errorchrislu1-0/+1
2024-08-21add parallel vacuumingchrislu3-7/+9
2024-08-21Fix get dir metadata (#5923)zemul1-2/+4
* fix:mount deadlock * feat: query dir metadata * feat: query dir metadata --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2024-08-19add http endpoint to get the size of a collection (#5910)Riccardo Bertossa2-0/+56
2024-08-16fix ec volume lookup data sync (#5900)augustazz1-2/+2
2024-08-16EC volume supports expiration and displays expiration message when executing ↵augustazz1-5/+16
volume.list (#5895) * ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
2024-08-13renamechrislu1-2/+2
2024-08-13add dat file size into vif for ECchrislu1-1/+5
2024-08-06[webdav] status code 500 if internal error from filer (#5865)Konstantin Lebedev1-5/+18
2024-08-01conditional deletechrislu3-3/+3
2024-07-30[master] do sync grow request only if absolutely necessary (#5821)Konstantin Lebedev2-9/+7
* do sync grow request only if absolutely necessary https://github.com/seaweedfs/seaweedfs/pull/5819 * remove check VolumeGrowStrategy Threshold on PickForWrite * fix fmt.Errorf
2024-07-29[filer] Added a version to the title of Filer UI (#5836)Jiffs Maverick2-2/+6
Added a version to the title of Filer UI
2024-07-26fix allocate reduplicated volumeId to different volume (#5811)wyang3-54/+60
* fix allocate reduplicated volumeId to different volume * only check barrier when read --------- Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-07-26Revert "Check `ShouldGrowVolumes` before returning error in assign. (#5819)"chrislu2-2/+2
This reverts commit 98d66338d0333cd955f7840c64ef95e3c4807a17.
2024-07-26fix delete chunk failed if volumeSever specified grpc.port (#5820)wyang2-4/+13
Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-07-26same change as #5819chrislu1-1/+1
follow up with https://github.com/seaweedfs/seaweedfs/pull/5819
2024-07-26Check `ShouldGrowVolumes` before returning error in assign. (#5819)Ruoxi1-1/+1
2024-07-21add version to filerchrislu1-0/+2
2024-07-16Added tls for http clients (#5766)vadimartynov11-32/+60
* Added global http client * Added Do func for global http client * Changed the code to use the global http client * Fix http client in volume uploader * Fixed pkg name * Fixed http util funcs * Fixed http client for bench_filer_upload * Fixed http client for stress_filer_upload * Fixed http client for filer_server_handlers_proxy * Fixed http client for command_fs_merge_volumes * Fixed http client for command_fs_merge_volumes and command_volume_fsck * Fixed http client for s3api_server * Added init global client for main funcs * Rename global_client to client * Changed: - fixed NewHttpClient; - added CheckIsHttpsClientEnabled func - updated security.toml in scaffold * Reduce the visibility of some functions in the util/http/client pkg * Added the loadSecurityConfig function * Use util.LoadSecurityConfiguration() in NewHttpClient func
2024-07-16[master] Do Automatic Volume Grow in background (#5781)Konstantin Lebedev5-33/+56
* Do Automatic Volume Grow in backgound * pass lastGrowCount to master * fix build * fix count to uint64
2024-07-12fix: avoid timeout if datacenter does not exist in topology (#5772)Konstantin Lebedev4-0/+15
* fix: avoid timeout if datacenter does not exist in topology * fix: error msg * fix: rm dublicate check * fix: compare * revert minor change
2024-07-12Fix "no more writable volumes" error when volume grows and master leader ↵小羽1-3/+4
changed at the same time (#5771)
2024-07-11small refactoringchrislu1-6/+1
2024-07-07add a test casechrislu1-0/+12
2024-07-04add s3test for sql (#5718)Konstantin Lebedev1-1/+10
* add s3test for sql * fix test test_bucket_listv2_delimiter_basic for s3 * fix action s3tests * regen s3 api xsd * rm minor s3 test test_bucket_listv2_fetchowner_defaultempty * add docs * without xmlns
2024-07-03fix breadcrumbchrislu2-0/+77
2024-07-02Revert "directory can paginate"chrislu2-11/+4
This reverts commit 69003d0e906e098cf6db11da05d915d0718a5eba.
2024-07-02fix orderingchrislu1-1/+1
2024-07-02directory can paginatechrislu2-4/+11
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev4-7/+7