aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_check_disk.go
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-1/+1
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-1/+1
2024-09-29skip resource heavy commands from running on master nodeschrislu1-2/+2
2024-09-29refactorchrislu1-1/+1
2024-09-28add IsResourceHeavy() to command interfacechrislu1-0/+4
2024-09-19Vol check disk bug (#6044)dsd1-19/+34
* fix volume.check.disk * ensure multiple replica sync * add comment --------- Co-authored-by: 邓书东 <shudong_deng@hhnb2024010108.intsig.com>
2024-08-01renamechrislu1-1/+1
2023-10-12fix has changes false if deleted result size eq zero (#4909)Konstantin Lebedev1-2/+2
* fix has changes false if deleted result size eq zero https://github.com/seaweedfs/seaweedfs/issues/4171 * fix change respos status 202 to 304 if the file has already been deleted https://github.com/seaweedfs/seaweedfs/issues/4171 * fix delete if set apply changes https://github.com/seaweedfs/seaweedfs/issues/4171 --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-10-09 fix: skipping checking active volumes with the same number of files at the ↵Konstantin Lebedev1-24/+82
moment (#4893) * fix: skipping checking active volumes with the same number of files at the moment https://github.com/seaweedfs/seaweedfs/issues/4140 * refactor with comments https://github.com/seaweedfs/seaweedfs/issues/4140 * add TestShouldSkipVolume --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-09-27fix: avoid deleting one replica without sync (#4875)Konstantin Lebedev1-23/+22
* fix: avoid deleting one replica without sync https://github.com/seaweedfs/seaweedfs/issues/4647 * Update weed/shell/command_volume_fix_replication.go Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> * fix: revert this existing do option to positive --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2023-09-25Revert "Revert "Merge branch 'master' of ↵chrislu1-2/+2
https://github.com/seaweedfs/seaweedfs"" This reverts commit 8cb42c39
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-2/+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/+2
* 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>
2022-10-30[volume.chek.disk] sync of deletions the fix (#3923)Konstantin Lebedev1-13/+45
* sync of deletions the fix * avoid return if only partiallyDeletedNeedles * refactor sync deletions
2022-10-28[voluche.chek.disk] needles older than the cutoff time are not missing yet ↵Konstantin Lebedev1-6/+19
(#3922) needles older than the cutoff time are not missing yet https://github.com/seaweedfs/seaweedfs/issues/3919
2022-10-25avoid fix missing of deleted needles (#3909)Konstantin Lebedev1-1/+1
2022-10-15[volume.fsck] hotfix apply purging and add option verifyNeedle #3860 (#3861)Konstantin Lebedev1-3/+4
* fix apply purging and add verifyNeedle * common readSourceNeedleBlob * use consts
2022-10-13remove unused ReadNeedleBlobRequest.needle_idchrislu1-1/+0
fix https://github.com/seaweedfs/seaweedfs/issues/3853
2022-09-05do not print diskInfos with doVolumeCheckDisk in error log (#3598)Konstantin Lebedev1-2/+2
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-4/+4
2022-05-31help message when in simulation modechrislu1-0/+1
2022-04-25volume.check.disk add param volumeIdKonstantin Lebedev1-0/+4
2022-04-18enhancement: replace sort.Slice with slices.SortFunc to reduce reflectionjustin1-3/+3
2022-02-08volume.balance: add delay during tight loopchrislu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2637
2022-02-01[volume.check.disk] fix wrong logic to comparechrislu1-2/+2
fix https://github.com/chrislusf/seaweedfs/issues/2626 minuend - subtrahend
2022-01-12add some noteschrislu1-1/+1
2022-01-12shell: tighter memory allocationchrislu1-22/+27
2021-12-26use streaming mode for long poll grpc callschrislu1-3/+3
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-12-10add lock messageschrislu1-1/+1
2021-12-05[volume.check.disk] was using the wrong source and target locationschrislu1-7/+7
fix https://github.com/chrislusf/seaweedfs/issues/2268
2021-09-13shell: do not need to lock to see volume -hChris Lu1-4/+4
2021-09-12change server address from string to a typeChris Lu1-8/+9
2021-07-31Fix typobyunghwa.yun1-1/+1
2021-07-16[volume.check.disk] skip errors and check next volumesChris Lu1-22/+29
fix https://github.com/chrislusf/seaweedfs/issues/2129
2021-07-13fix compilationChris Lu1-2/+2
2021-07-13shell: volume.check.disk adds retries in case the volumes are just movedChris Lu1-25/+30
related to https://github.com/chrislusf/seaweedfs/issues/2194
2021-04-14volume.check.disk: break loop for read only volumesChris Lu1-0/+1
fix https://github.com/chrislusf/seaweedfs/issues/2002
2021-03-24avoid counter is nullKonstantin Lebedev1-0/+5
2021-03-24nonRepairThresholdKonstantin Lebedev1-6/+6
2021-03-24rename option repairThresholdKonstantin Lebedev1-7/+6
2021-03-23rename varKonstantin Lebedev1-3/+3
2021-03-23add missingKeysThreshold for fsckKonstantin Lebedev1-9/+16
2021-03-22shell: volume.check.disk adds optional slow modeChris Lu1-4/+7
fix https://github.com/chrislusf/seaweedfs/issues/1930
2021-03-22fix build error2.35Chris Lu1-1/+1
2021-03-22shell: add volume.check.disk to fix inconsistency for replicated volumesChris Lu1-0/+243
fix https://github.com/chrislusf/seaweedfs/issues/1923