Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
4 weeks ago
chrislu
e5adc3872a
ensure deleted entries are deleted
fix https://github.com/seaweedfs/seaweedfs/issues/6936
1 month ago
chrislu
d2be5822a1
refactoring
2 months ago
Lisandro Pin
dddb0f0ae5
Fix update of `SeaweedFS_volumeServer_volumes` gauge metrics when EC shards are unmounted ( #6776 )
3 months ago
Quentin D.
2ae5b480a6
Use the correct constant when computing the offset in 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>
3 months ago
chrislu
ec155022e7
"golang.org/x/exp/slices" => "slices" and go fmt
8 months ago
chrislu
c9f3448692
ReadAt may return io.EOF t end of file
related to https://github.com/seaweedfs/seaweedfs/issues/6219
9 months ago
chrislu
96f1a2e01a
adjust error message
9 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.
10 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>
1 year ago
chrislu
fdf7193ae7
rename
1 year ago
chrislu
07f4998188
add dat file size into vif for EC
1 year ago
chrislu
3a2e21fee7
fix EC reading on nLargeBlockRows
fix https://github.com/seaweedfs/seaweedfs/issues/5465
1 year ago
steve.wei
0bdf121e51
rename VolumeServerVolumeGauge ( #5504 )
1 year ago
rustrover
ab70aa92da
remove repetitive words ( #5364 )
1 year ago
chrislu
6ebe26a765
Revert "Revert "Revert "Add disk type to prometheus metrics" ( #4777 )""
This reverts commit 567d788928
.
2 years ago
chrislu
7540d43ee9
Revert "Revert "fix compilation""
This reverts commit f9abfd0b03
.
2 years ago
chrislu
249c0e06ef
Revert "fix compilation"
This reverts commit 451ec6504d
.
2 years ago
chrislu
451ec6504d
fix compilation
2 years ago
chrislu
f9abfd0b03
Revert "fix compilation"
This reverts commit 0483ba3889
.
2 years ago
chrislu
0483ba3889
fix compilation
2 years ago
chrislu
567d788928
Revert "Revert "Add disk type to prometheus metrics" ( #4777 )"
This reverts commit 9215ba24be
.
2 years ago
chrislu
645ae8c57b
Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs ""
This reverts commit 8cb42c39
2 years ago
chrislu
8cb42c39ad
Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs "
This reverts commit 2e5aa06026
, reversing
changes made to 4d414f54a2
.
2 years ago
dependabot[bot]
a04bd4d26f
Bump github.com/rclone/rclone from 1.63.1 to 1.64.0 ( #4850 )
* 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>
2 years ago
Lars Lehtonen
f24c7e803f
weed/storage/erasure_coding: Close() after error handling
2 years ago
Lars Lehtonen
d762b12e11
weed/storage/erasure_coding: fix dropped test error
2 years ago
Lars Lehtonen
a879e1bbb5
weed/storage/erasure_coding: remove unused err from encodeDatFile() signature
2 years ago
Chris Lu
9215ba24be
Revert "Add disk type to prometheus metrics" ( #4777 )
Revert "Add disk type to prometheus metrics (#4736 )"
This reverts commit 9956d93a40
.
2 years ago
Dmitry Mishin
9956d93a40
Add disk type to prometheus metrics ( #4736 )
* Add disk type to prometheus metrics
* Del metrics
* Disk type as readable string
---------
Co-authored-by: Dima Mishin <dimm@dimm.dev>
2 years ago
Nikita Mochalov
e6a49dc533
Fix resource leaks ( #4737 )
* Fix division by zero
* Fix file handle leak
* Fix file handle leak
* Fix file handle leak
* Fix goroutine leak
2 years ago
chrislu
0a22eea55d
collect ec shard from multiple locations
fix https://github.com/seaweedfs/seaweedfs/issues/4365
2 years ago
Konstantin Lebedev
1f7e52c63e
vacuum metrics and force sync dst files ( #3832 )
3 years ago
Eric Yang
b324a6536c
ADHOC: add read needle meta grpc ( #3581 )
* ADHOC: add read needle meta grpc
* add test
* nit
Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
3 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
guol-fnst
ac694f0c8f
rename parameter and reuse functions
rename milestone to watermark
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
justin
d51a724101
fix: encode small chunk return error maybe have some bug.
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
4 years ago
Chris Lu
05a648bb96
refactor: separating out remote.proto
4 years ago
Chris Lu
828f6e9f4d
volume: auto add missing vif files
fix https://github.com/chrislusf/seaweedfs/issues/1878
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
5 years ago
bingoohuang
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
5 years ago
Chris Lu
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
5 years ago
Chris Lu
4ff2ceee33
UI fix on rendering EC volumes
addressing UI problem with https://github.com/chrislusf/seaweedfs/issues/1551
5 years ago
Chris Lu
ab759f0ec2
erasure coding: fix EC error if multiple disks are configured in one volume server
5 years ago
Chris Lu
d1cf39f180
fix logging
5 years ago
Chris Lu
fe01191b5b
support read option readDeleted=true
5 years ago
Chris Lu
c026eb0592
refactoring
5 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
5 years ago