aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/needle
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-2/+2
2025-06-16refactoringchrislu2-5/+8
2025-06-11refactorchrislu2-27/+26
2025-06-11refactorchrislu3-35/+46
2025-06-11refactoringchrislu2-14/+28
2025-06-08refactororigin/refactor-volume-writechrislu2-76/+15
2025-06-07add a readme file for volume needle data layoutchrislu1-0/+160
2025-06-06refactorchrislu5-34/+21
2025-06-06fix testschrislu1-3/+5
2025-06-06refactoringchrislu4-72/+54
2025-06-06a bit refactoringchrislu1-12/+17
2025-06-06refactor needle write for different versionschrislu6-127/+519
2025-05-15correctly report volume with input/output error to master (#6790)dongxufeng1-3/+4
* correctly capture io error and report to master * code fix * check io error by error.Is --------- Co-authored-by: dongxu_feng <dongxu_feng@intsig.net>
2025-04-02Fix volume ttl (#6683)bwlfhu2-8/+63
2024-11-21ReadAt may return io.EOF t end of filechrislu2-1/+15
related to https://github.com/seaweedfs/seaweedfs/issues/6219
2024-11-20adjust error messagechrislu1-0/+3
2024-11-15Fix/parse upload filename (#6241)Kevin Bulteel1-128/+104
* 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
2024-11-12added backward compatible CRC check and extra explanatory comments (#6233)Eugeniy E. Mikhailov1-1/+3
2024-08-16EC volume supports expiration and displays expiration message when executing ↵augustazz1-0/+20
volume.list (#5895) * ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev1-1/+1
2024-04-26feat: upload files directly without multipart/form-data (#5539)Kevin Bulteel1-1/+71
2024-04-11[volume] Reduce the number of buffers for uploading one chunk (#5458)Konstantin Lebedev1-9/+3
2024-01-15can vacuum volume when size mismatch (#5200)skycope1-1/+11
Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-01-11fix write volume over size MaxPossibleVolumeSize (#5190)skycope1-1/+1
Co-authored-by: Yang Wang <yangwang@weride.ai>
2024-01-10chore: add status code for request_total metrics (#5188)Konstantin Lebedev1-10/+10
2023-03-02fix_read_tomb_needle_meta (#4263)zemul1-1/+5
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2022-10-24ADHOC: volume fsck using append at ns (#3906)Eric Yang1-7/+4
* ADHOC: volume fsck using append at ns * nit * nit Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2022-10-23ensure monotonic n.AppendAtNs in each place (#3880)Konstantin Lebedev1-0/+15
https://github.com/seaweedfs/seaweedfs/issues/3852 Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2022-10-23ReadNeedleMeta recovery panic occurred (#3883)Konstantin Lebedev1-0/+6
ReadNeedleMeta panic occurred https://github.com/seaweedfs/seaweedfs/issues/3882
2022-10-23skip reading needle if size is invalidchrislu2-0/+4
related to https://github.com/seaweedfs/seaweedfs/issues/3882
2022-09-16refactor(storage): readability improvements (#3703)Ryan Russell3-3/+3
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-09-08refactor: move ReadNeedleDataInto into volume_read.gochrislu2-113/+0
2022-09-06ADHOC: add read needle meta grpc (#3581)Eric Yang2-4/+2
* ADHOC: add read needle meta grpc * add test * nit Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu11-25/+25
2022-06-14volume: avoid writing too much data for range requests in large fileschrislu1-3/+4
related to https://github.com/chrislusf/seaweedfs/issues/3178
2022-06-05fix testchrislu1-2/+1
2022-06-05volume: checksum remove the hashing step in Value()chrislu5-14/+17
2022-06-05stream read large fileschrislu2-13/+19
2022-06-04needle read into a writerchrislu2-18/+28
2022-06-04add needle reading in chunkschrislu4-7/+190
2022-06-03refactoring, split filechrislu3-165/+174
2022-02-04move error to a separate filechrislu1-10/+10
This file contains metric names for all errors The naming convention is ErrorSomeThing = "error.some.thing"
2022-02-04error metrics for filer and storeKonstantin Lebedev1-0/+11
2021-10-14refactor: move from io/ioutil to io and os packageEng Zer Jun2-5/+3
The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-07do not try to compress if not sure about the file contentChris Lu1-1/+1
2021-10-07revert temporary changes that disabled compressionChris Lu1-9/+7
fix https://github.com/chrislusf/seaweedfs/issues/2362
2021-09-27adjust commentChris Lu1-2/+2
2021-09-02add error messageChris Lu1-1/+1
2021-08-17The IEEE assembler optimizations has been submitted and will be part of the ↵Konstantin Lebedev1-1/+1
Go 1.6 standard library. https://github.com/klauspost/crc32
2021-08-01volume: deletion can skip volume size checkingChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2225