promalert
9012069bd7
chore: execute goimports to format the code ( #7983 )
* chore: execute goimports to format the code
Signed-off-by: promalert <promalert@outlook.com>
* goimports -w .
---------
Signed-off-by: promalert <promalert@outlook.com>
Co-authored-by: Chris Lu <chris.lu@gmail.com>
1 week ago
Chris Lu
69553e5ba6
convert error fromating to %w everywhere ( #6995 )
6 months ago
chrislu
c9f3448692
ReadAt may return io.EOF t end of file
related to https://github.com/seaweedfs/seaweedfs/issues/6219
1 year ago
chrislu
f11567816e
Revert "fix: volume data integrity check ( #6118 )"
This reverts commit e12b9ab746 .
1 year ago
wusong
e12b9ab746
fix: volume data integrity check ( #6118 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
1 year ago
Konstantin Lebedev
6d4f5c94ac
[volume] remove truncate idx file if size not healthy ( #6043 )
1 year ago
Konstantin Lebedev
d389c5b27e
fix: recreate index include deleted files ( #5579 )
* fix: recreate index include deleted files
https://github.com/seaweedfs/seaweedfs/issues/5508
* fix: counting the number of files
* fix: log
2 years ago
Konstantin Lebedev
6f9267ebdf
fix: skip file size checking for volume with TTL ( #5541 )
fix: skip file size checking for volume with tll
https://github.com/seaweedfs/seaweedfs/issues/5508
2 years ago
chrislu
7c45992c79
when verifyNeedleIntegrity, do not truncate files
related to https://github.com/seaweedfs/seaweedfs/pull/5259
2 years ago
skycope
316ae45795
can vacuum volume when size mismatch ( #5200 )
Co-authored-by: Yang Wang <yangwang@weride.ai>
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
4 years ago
bingoohuang
ee7cdf3668
revert ErrXyz to ErrorXyz temporarily.
5 years ago
bingoohuang
a6d421508a
revert ErrXyz to ErrorXyz temporarily.
5 years ago
bingoohuang
7ffe736d20
renaming to ErrXyz
5 years ago
Chris Lu
885ca34748
volume: fail fast if idx files are missing
fix https://github.com/chrislusf/seaweedfs/issues/1796
5 years ago
bingoohuang
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
5 years ago
Chris Lu
9708df47d1
ensure offset in the index file is positive
5 years ago
Chris Lu
6560ac6466
volume loading: trim out unreachable idx file content
fix https://github.com/chrislusf/seaweedfs/issues/1583
5 years ago
Chris Lu
744c5594da
volume: automatically trim out unreachable entries
5 years ago
shibinbin
a67eb1afa1
fix: restart volumeserver sometime occurred out of memory error
5 years ago
Chris Lu
ea26a98753
volume: validate volume correctness if last entry is a deletion
5 years ago
Chris Lu
9d4bdfcfdf
fix volume integrity checking
5 years ago
Chris Lu
ee11d98650
refactoring
5 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
5 years ago
Chris Lu
c3cb6fa1d7
volume: compaction can cause readonly volumes
address https://github.com/chrislusf/seaweedfs/issues/1233
6 years ago
Chris Lu
f60154f330
master load backend storage config from master.toml
6 years ago
Chris Lu
19b6a16003
changed from os.file to backend.DataStorageBackend
6 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
6 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
6 years ago
Chris Lu
17ac1290c0
volume: load ec shards during heartbeats to master
7 years ago
Wine93
32f93fb09e
style: go fmt for all
7 years ago
Chris Lu
0be2d51c96
read volume lastAppendAtNs when loading a volume
7 years ago
Chris Lu
ac2727853f
fix needle map entry size
7 years ago
Chris Lu
e5506152c0
refactoring
7 years ago
Chris Lu
000ee725fc
refactor Offset into a struct of bytes
7 years ago
Chris Lu
4f317c7e3d
working version3
8 years ago
Chris Lu
d4d7ced922
refactoring: add type for needle id, offset
later the type size can possibly be adjusted
8 years ago
Chris Lu
458ada173e
go fmt
8 years ago
brstgt
0656838fe5
Don't return actual file size from CheckVolumeDataIntegrity, it will be 0 if last needle is a tombstone, so it's not reliable anyway
9 years ago
Chris Lu
13e7069eb9
keep track of total data file size
9 years ago
霍晓栋
ce1f7ab662
makediff func with UT case
9 years ago
霍晓栋
b9b3651a98
deleted index entry could not point to deleted needle
10 years ago
霍晓栋
09bd3d015d
deleted index entry could not point to deleted needle
10 years ago
Chris Lu
582d5d526c
refactoring
10 years ago