aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/erasure_coding
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu3-16/+16
2025-07-01ensure deleted entries are deletedchrislu1-1/+1
fix https://github.com/seaweedfs/seaweedfs/issues/6936
2025-06-16refactoringchrislu1-1/+1
2025-05-09Fix update of `SeaweedFS_volumeServer_volumes` gauge metrics when EC shards ↵Lisandro Pin2-3/+11
are unmounted (#6776)
2025-05-09Use the correct constant when computing the offset in ↵Quentin D.1-4/+3
SearchNeedleFromSortedIndex (#6771) NeedleHeaderSize happen to have the same size as NeedleMapEntrySize, except when running the 5 bytes offset variant of Seaweedfs, because it does not contain OffsetSize. This causes ECX corruption on deletes, due to the drifting offset computation (offset is always computed on a basis of 16 bytes per record instead of 17 bytes) Signed-off-by: Quentin Devos <4972091+Okhoshi@users.noreply.github.com>
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu2-3/+3
2024-11-21ReadAt may return io.EOF t end of filechrislu2-3/+10
related to https://github.com/seaweedfs/seaweedfs/issues/6219
2024-11-19adjust error messagechrislu1-1/+1
2024-10-24rename proto field from DestroyTime to expire_at_secchrislu2-8/+8
For TTL volume converted into EC volume, this change may leave the volumes staying.
2024-08-16EC volume supports expiration and displays expiration message when executing ↵augustazz2-13/+26
volume.list (#5895) * ec volume expire * volume.list show DestroyTime * comments * code optimization --------- Co-authored-by: xuwenfeng <xuwenfeng1@zto.com>
2024-08-13renamechrislu1-1/+1
2024-08-13add dat file size into vif for ECchrislu4-13/+36
2024-08-13fix EC reading on nLargeBlockRowschrislu2-10/+19
fix https://github.com/seaweedfs/seaweedfs/issues/5465
2024-04-17rename VolumeServerVolumeGauge (#5504)steve.wei1-2/+2
2024-03-09remove repetitive words (#5364)rustrover1-1/+1
2023-10-03Revert "Revert "Revert "Add disk type to prometheus metrics" (#4777)""chrislu1-2/+2
This reverts commit 567d78892860f87c207beb56a3323b4b9e90dfc9.
2023-10-03Revert "Revert "fix compilation""chrislu1-2/+0
This reverts commit f9abfd0b03b67e3fa876fcacf584edf378164eb9.
2023-10-03Revert "fix compilation"chrislu1-0/+2
This reverts commit 451ec6504d07812b074555a1fbb2a831bfa8e5e3.
2023-10-03fix compilationchrislu1-2/+0
2023-10-03Revert "fix compilation"chrislu1-0/+2
This reverts commit 0483ba388904f3404c0b7ffe3616de4539f84f3e.
2023-10-02fix compilationchrislu1-2/+0
2023-10-02Revert "Revert "Add disk type to prometheus metrics" (#4777)"chrislu1-2/+4
This reverts commit 9215ba24be0aec0c5804927cc73613560e57cbc0.
2023-09-25Revert "Revert "Merge branch 'master' of ↵chrislu1-2/+5
https://github.com/seaweedfs/seaweedfs"" This reverts commit 8cb42c39
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-5/+2
This reverts commit 2e5aa06026750c99ea283181974d2ccfe5eb0468, reversing changes made to 4d414f54a224142f3f4d934f4af3b5dceb6fec6b.
2023-09-18Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 (#4850)dependabot[bot]1-2/+5
* Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone) from 1.63.1 to 1.64.0. - [Release notes](https://github.com/rclone/rclone/releases) - [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md) - [Commits](https://github.com/rclone/rclone/compare/v1.63.1...v1.64.0) --- updated-dependencies: - dependency-name: github.com/rclone/rclone dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * API changes * go mod --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: chrislu <chris.lu@gmail.com>
2023-09-06weed/storage/erasure_coding: Close() after error handlingLars Lehtonen1-1/+1
2023-09-06weed/storage/erasure_coding: fix dropped test errorLars Lehtonen1-0/+3
2023-09-06weed/storage/erasure_coding: remove unused err from encodeDatFile() signatureLars Lehtonen1-2/+2
2023-08-09Fix resource leaks (#4737)Nikita Mochalov3-4/+11
* Fix division by zero * Fix file handle leak * Fix file handle leak * Fix file handle leak * Fix goroutine leak
2023-04-17collect ec shard from multiple locationschrislu1-4/+10
fix https://github.com/seaweedfs/seaweedfs/issues/4365
2022-10-13vacuum metrics and force sync dst files (#3832)Konstantin Lebedev1-0/+1
2022-09-06ADHOC: add read needle meta grpc (#3581)Eric Yang1-2/+6
* 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/seaweedfschrislu9-31/+31
2022-07-20rename parameter and reuse functionsguol-fnst1-1/+1
rename milestone to watermark
2022-04-18enhancement: replace sort.Slice with slices.SortFunc to reduce reflectionjustin1-4/+3
2022-03-28fix: encode small chunk return error maybe have some bug.justin1-1/+1
2021-09-12change server address from string to a typeChris Lu1-2/+3
2021-08-26refactor: separating out remote.protoChris Lu1-3/+3
2021-03-09volume: auto add missing vif filesChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/1878
2021-02-16this can compile now!!!Chris Lu3-5/+13
2021-02-07fix typo offset.ToAcutalOffset to offset.ToActualOffsetbingoohuang4-7/+7
2020-11-27volume: add "-dir.idx" option for separate index storageChris Lu2-18/+31
fix https://github.com/chrislusf/seaweedfs/issues/1265
2020-10-21UI fix on rendering EC volumesChris Lu1-2/+2
addressing UI problem with https://github.com/chrislusf/seaweedfs/issues/1551
2020-08-26erasure coding: fix EC error if multiple disks are configured in one volume ↵Chris Lu1-0/+4
server
2020-08-26fix loggingChris Lu1-2/+2
2020-08-18support read option readDeleted=trueChris Lu1-1/+1
2020-08-18refactoringChris Lu1-1/+1
2020-08-18refactoring to typed SizeChris Lu6-15/+19
Go is amazing with refactoring!
2020-07-14go fmtChris Lu2-3/+3
2020-06-25checking ecx fileChris Lu2-0/+54