aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
AgeCommit message (Collapse)AuthorFilesLines
2025-01-08[weed] change -n to -force (#6421)dsd1-15/+15
2024-12-20skip error while executing volume.fix.replication (#6382)dsd1-5/+11
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-4/+2
2024-11-25use readable bytes size string in shell output (#6288)Trim211-1/+3
2024-11-21[shell] don't require lock when there are no changes for ↵Konstantin Lebedev1-3/+4
volume.fix.replication (#6266) * don't require lock when there are no changes * revert takeAction
2024-11-19minorchrislu1-1/+1
2024-11-19Unify usage of shell.EcNode.dc as DataCenterId. (#6258)Lisandro Pin1-2/+2
2024-09-29adjust resource heavy for volume.fix.replicationchrislu1-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-26Fix/copy before delete replication (#6064)Max Denushev1-1/+22
* fix(shell): volume.fix.replication misplaced volumes unsatisfying replication factor * fix(shell): simplify replication check * fix(shell): add test for satisfyReplicaCurrentLocation
2024-04-23fix "volume.fix.replication" move many replications only to one volumeServer ↵skycope1-6/+15
(#5522)
2024-04-08fix(volume.fix.replication): adjust volume count, not free volume count (#5479)steve.wei1-4/+4
2023-11-07fix isMisplaced() in command_volume_fix_replication.go (#4988)zehweh1-3/+3
2023-10-02 fix: logger place msg (#4880)Konstantin Lebedev1-1/+1
2023-09-27fix: avoid deleting one replica without sync (#4875)Konstantin Lebedev1-7/+41
* 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-26fix: avoid deleting more than one replica (#4873)Konstantin Lebedev1-5/+6
https://github.com/seaweedfs/seaweedfs/issues/4647 Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-09-25Revert "Revert "Merge branch 'master' of ↵chrislu1-7/+7
https://github.com/seaweedfs/seaweedfs"" This reverts commit 8cb42c39
2023-09-18Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"chrislu1-7/+7
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-7/+7
* 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-08-08added an error messagechrislu1-0/+2
2023-06-12Delete volume is empty (#4561)Konstantin Lebedev1-1/+2
* use onlyEmpty for deleteVolume https://github.com/seaweedfs/seaweedfs/issues/4559 * fix IsEmpty * fix test --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-02-22volume.fix.replication: adjust the retry checking timeschrislu1-1/+1
2022-09-14go fmtchrislu1-29/+35
2022-09-10Add option in volume.fix.replication to only fix under-replication and not ↵Brian1-2/+4
delete volumes (#3640)
2022-08-22shell: stop long running jobs if lock is lostchrislu1-0/+4
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-7/+7
2022-06-03volume.fix.replication fix retry logicchrislu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/3136
2022-05-16fix collectionIsMismatch charsetKonstantin Lebedev1-3/+3
2022-05-16fix skip loopKonstantin Lebedev1-1/+5
2022-05-16avoid delete volume replica if collection mismatchKonstantin Lebedev1-0/+7
2022-04-18enhancement: replace sort.Slice with slices.SortFunc to reduce reflectionjustin1-6/+4
2022-02-08volume.balance: add delay during tight loopchrislu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2637
2021-12-26use streaming mode for long poll grpc callschrislu1-1/+1
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-05volume.fix.replication: fix misplaced volumeschrislu1-4/+56
fix https://github.com/chrislusf/seaweedfs/issues/2416
2021-10-24volume copy: stream out copying progress and avoid grpc request timeoutChris Lu1-1/+15
fix https://github.com/chrislusf/seaweedfs/issues/2386
2021-10-01refactorChris Lu1-5/+5
2021-10-01check that the topology has been updatedKonstantin Lebedev1-3/+42
2021-10-01rename opt volumesPerStepKonstantin Lebedev1-5/+5
2021-09-30https://github.com/chrislusf/seaweedfs/issues/1846Konstantin Lebedev1-33/+47
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-3/+4
2021-08-29fix commentsChris Lu1-1/+1
2021-08-10dedup keeps the largest replicaChris Lu1-4/+4
2021-08-08shell: volume.tier.move avoid moving all volumes to one destinationChris Lu1-0/+2
2021-08-03shell: volume.fix.replication retries even when there is no error #2235Chris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2235
2021-07-21go fmtChris Lu1-1/+1
2021-07-16add `-retry` option for `volume.fix.replication`Chris Lu1-7/+8
fix https://github.com/chrislusf/seaweedfs/issues/2191