aboutsummaryrefslogtreecommitdiff
path: root/weed
AgeCommit message (Collapse)AuthorFilesLines
2024-09-24fix unclaimed spaces calculation when volumePreallocate is enabled (#6063)LHHDZ5-645/+678
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 Denushev10-849/+868
* fix(volume): don't persist RO state in specific cases * fix(volume): writable always persist
2024-09-23Feat:merge small chunk (#6049)zemul4-11/+74
* fix:mount deadlock * feat: merge small chunk * adjust MergeChunkMinCount * fix --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2024-09-19fix max volume count auto settingchrislu1-1/+2
related to https://github.com/seaweedfs/seaweedfs/issues/6041#issuecomment-2360448182
2024-09-19Vol check disk bug (#6044)dsd1-19/+34
* fix volume.check.disk * ensure multiple replica sync * add comment --------- Co-authored-by: 邓书东 <shudong_deng@hhnb2024010108.intsig.com>
2024-09-19[volume] remove truncate idx file if size not healthy (#6043)Konstantin Lebedev2-7/+3
2024-09-17refactorchrislu1-2/+1
2024-09-17fix nil filer confchrislu1-0/+3
fix https://github.com/seaweedfs/seaweedfs/issues/6034
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 Lou19-255/+442
* 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-16fix invalid file read (#6024)Guang Jiong Lou2-1/+8
2024-09-15Feature: compress before encryption (#6013)Eugeniy E. Mikhailov1-2/+5
2024-09-14fix file read crash (#6021)Bruce3-6/+11
2024-09-13[master] master missing start LoopPushingMetric routine fixed. (#6018)zouyixiong1-1/+1
2024-09-13changing FindEntry error handling in cassandra store (#6015)Aleksey Kosov1-5/+3
2024-09-12refactorchrislu7-29/+30
2024-09-123.733.73chrislu1-1/+1
2024-09-11Feature limit caching to prescribed number of bytes per file (#6009)Eugeniy E. Mikhailov4-2/+61
* feature: we can check if a fileId is already in the cache We using this to protect cache from adding the same needle to the cache over and over. * fuse mount: Do not start dowloader if needle is already in the cache * added maxFilePartSizeInCache property to ChunkCache If file very large only first maxFilePartSizeInCache bytes are going to be put to the cache (subject to the needle size constrains). * feature: for large files put in cache no more than prescribed number of bytes Before this patch only the first needle of a large file was intended for caching. This patch uses maximum prescribed amount of bytes to be put in cache. This allows to bypass default 2MB maximum for a file part stored in the cache. * added dummy mock methods to satisfy interfaces of ChunkCache
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-11change math/rand => math/rand/v2 in volume_layout.go where is a perfo… (#6006)dsd1-3/+4
2024-09-10bug fix in the data received from cache processing (#6002)Eugeniy E. Mikhailov1-5/+5
The patch addresses #3745. The cache should return the exact amount of data requested by the buffer. By construction of the cache it is always all requested data range or we have error happening. The old use of minsize miscalculate the requested data size, if non zero offset is requested.
2024-09-10increasing default cache sizechrislu1-1/+1
2024-09-10weed mount cachingchrislu1-2/+2
2024-09-10remove unusedchrislu1-2/+0
2024-09-10adjust loggingchrislu1-1/+1
2024-09-09[master] process grow request with must grow (#5999)Konstantin Lebedev2-27/+43
process grow request with must grow
2024-09-09[shell] fix volume grow in shell (#5992)Konstantin Lebedev6-748/+1111
* 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 apischrislu2-4/+5
2024-09-09bug fixed to filer store elastic deleteEntry (#5988)zouyixiong1-2/+10
2024-09-07better logging for volume growthchrislu5-3/+11
2024-09-07refactorchrislu2-2/+8
2024-09-05Remove "Content-Length" header if http.Error is issued (#5981)Eugeniy E. Mikhailov1-0/+4
2024-09-05Do CRC check if the buffer contains the full needle data before it is sent ↵Eugeniy E. Mikhailov1-1/+8
(#5980)
2024-09-05persist readonly state to volume info (#5977)Bruce5-496/+522
2024-09-04Skip volume data integrity check for volume which has remote file (#5976)Bruce1-3/+11
2024-09-04[s3] reducing the number of metrics for 403 (#5961)Konstantin Lebedev1-4/+1
reducing the number of metrics
2024-09-04[master] refactor func ShouldGrowVolumes (#5884)Konstantin Lebedev6-62/+121
2024-09-04support write once read manychrislu5-2/+15
fix https://github.com/seaweedfs/seaweedfs/issues/5954
2024-09-04Revert "weed mount, weed dav add option to force cache"chrislu9-22/+9
This reverts commit 7367b976b05bfa69158a60f205dec970c48f50f0.
2024-09-04weed mount, weed dav add option to force cachechrislu9-9/+22
2024-09-04default cacheDirWrite to cacheDirchrislu2-2/+7
2024-09-03fix for spreading ec shardschrislu1-4/+11
2024-09-03copy ec shards to disks already having ec volumeschrislu3-5/+12
fix https://github.com/seaweedfs/seaweedfs/issues/5615
2024-09-02fix volume.move io.EOF (#5960)wyang1-3/+10
2024-09-01Show volume server which failed to verify a chunk (#5958)Eugeniy E. Mikhailov1-4/+4
2024-09-01update metric for ErrorCRC if it happens during volume readNeedleDataInto ↵Eugeniy E. Mikhailov1-0/+2
(#5957)
2024-08-30unnecessary skippingchrislu1-6/+1
2024-08-30parameter namechrislu1-2/+2
2024-08-30fix typochrislu2-2/+2
2024-08-30adjust warning logchrislu1-1/+1