aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_checking.go
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-1/+1
2024-11-21ReadAt may return io.EOF t end of filechrislu1-2/+10
related to https://github.com/seaweedfs/seaweedfs/issues/6219
2024-10-17Revert "fix: volume data integrity check (#6118)"chrislu1-7/+6
This reverts commit e12b9ab7460aa635e32190e9f61f37fdc7b794f6.
2024-10-14fix: volume data integrity check (#6118)wusong1-6/+7
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2024-09-19[volume] remove truncate idx file if size not healthy (#6043)Konstantin Lebedev1-6/+2
2024-05-12fix: recreate index include deleted files (#5579)Konstantin Lebedev1-5/+2
* fix: recreate index include deleted files https://github.com/seaweedfs/seaweedfs/issues/5508 * fix: counting the number of files * fix: log
2024-04-28fix: skip file size checking for volume with TTL (#5541)Konstantin Lebedev1-0/+3
fix: skip file size checking for volume with tll https://github.com/seaweedfs/seaweedfs/issues/5508
2024-02-24when verifyNeedleIntegrity, do not truncate fileschrislu1-6/+2
related to https://github.com/seaweedfs/seaweedfs/pull/5259
2024-01-15can vacuum volume when size mismatch (#5200)skycope1-0/+3
Co-authored-by: Yang Wang <yangwang@weride.ai>
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-7/+7
2021-02-11volume: fail fast if idx files are missingChris Lu1-0/+16
fix https://github.com/chrislusf/seaweedfs/issues/1796
2021-02-07fix typo offset.ToAcutalOffset to offset.ToActualOffsetbingoohuang1-1/+1
2020-10-31ensure offset in the index file is positiveChris Lu1-1/+1
2020-10-29volume loading: trim out unreachable idx file contentChris Lu1-1/+20
fix https://github.com/chrislusf/seaweedfs/issues/1583
2020-10-28volume: automatically trim out unreachable entriesChris Lu1-20/+51
2020-10-28fix: restart volumeserver sometime occurred out of memory errorshibinbin1-0/+12
2020-09-12volume: validate volume correctness if last entry is a deletionChris Lu1-4/+25
2020-09-11fix volume integrity checkingChris Lu1-2/+2
2020-08-18refactoringChris Lu1-1/+1
2020-08-18refactoring to typed SizeChris Lu1-1/+1
Go is amazing with refactoring!
2020-03-17volume: compaction can cause readonly volumesChris Lu1-1/+1
address https://github.com/chrislusf/seaweedfs/issues/1233
2019-11-28master load backend storage config from master.tomlChris Lu1-1/+1
2019-10-29changed from os.file to backend.DataStorageBackendChris Lu1-2/+3
2019-05-21volume: load ec shards during heartbeats to masterChris Lu1-1/+2
2019-04-30style: go fmt for allWine931-2/+2
2019-04-19read volume lastAppendAtNs when loading a volumeChris Lu1-17/+17
2019-04-19fix needle map entry sizeChris Lu1-3/+3
2019-04-18refactoringChris Lu1-6/+3
2019-04-08refactor Offset into a struct of bytesChris Lu1-2/+2
2018-07-24working version3Chris Lu1-3/+2
2018-07-08refactoring: add type for needle id, offsetChris Lu1-7/+8
later the type size can possibly be adjusted
2018-05-27go fmtChris Lu1-1/+1
2017-01-20Don't return actual file size from CheckVolumeDataIntegrity, it will be 0 if ↵brstgt1-7/+7
last needle is a tombstone, so it's not reliable anyway
2017-01-06keep track of total data file sizeChris Lu1-8/+14
2016-10-07makediff func with UT case霍晓栋1-1/+0
2016-07-25deleted index entry could not point to deleted needle霍晓栋1-1/+1
2016-07-25deleted index entry could not point to deleted needle霍晓栋1-0/+4
2016-07-02refactoringChris Lu1-0/+59