Trim21
d43fa07f06
use readable bytes size string in shell output ( #6288 )
4 weeks ago
Konstantin Lebedev
a143c888e5
[shell] don't require lock when there are no changes for volume.fix.replication ( #6266 )
* don't require lock when there are no changes
* revert takeAction
1 month ago
chrislu
07cf8cf22d
minor
1 month ago
Lisandro Pin
0d5393641e
Unify usage of shell.EcNode.dc as DataCenterId. ( #6258 )
1 month ago
chrislu
20929f2a57
adjust resource heavy for volume.fix.replication
3 months ago
chrislu
6564ceda91
skip resource heavy commands from running on master nodes
3 months ago
chrislu
ec30a504ba
refactor
3 months ago
chrislu
701abbb9df
add IsResourceHeavy() to command interface
3 months ago
Max Denushev
f1e700ce2f
Fix/copy before delete replication ( #6064 )
* fix(shell): volume.fix.replication misplaced volumes unsatisfying replication factor
* fix(shell): simplify replication check
* fix(shell): add test for satisfyReplicaCurrentLocation
3 months ago
skycope
6e4b9181f5
fix "volume.fix.replication" move many replications only to one volumeServer ( #5522 )
8 months ago
steve.wei
67ead9b18f
fix(volume.fix.replication): adjust volume count, not free volume count ( #5479 )
9 months ago
zehweh
2b9dda7d2e
fix isMisplaced() in command_volume_fix_replication.go ( #4988 )
1 year ago
Konstantin Lebedev
dffe00a822
fix: logger place msg ( #4880 )
1 year ago
Konstantin Lebedev
dd580190b4
fix: avoid deleting one replica without sync ( #4875 )
* 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>
1 year ago
Konstantin Lebedev
df4ded758e
fix: avoid deleting more than one replica ( #4873 )
https://github.com/seaweedfs/seaweedfs/issues/4647
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
chrislu
645ae8c57b
Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs ""
This reverts commit 8cb42c39
1 year ago
chrislu
8cb42c39ad
Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs "
This reverts commit 2e5aa06026
, reversing
changes made to 4d414f54a2
.
1 year 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>
1 year ago
chrislu
3365468d0d
added an error message
1 year ago
Konstantin Lebedev
25535e9c36
Delete volume is empty ( #4561 )
* 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>
2 years ago
chrislu
214b7cd286
volume.fix.replication: adjust the retry checking times
2 years ago
chrislu
21c0587900
go fmt
2 years ago
Brian
4e3e2b1b82
Add option in volume.fix.replication to only fix under-replication and not delete volumes ( #3640 )
2 years ago
chrislu
676e27c589
shell: stop long running jobs if lock is lost
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
f97acdd489
volume.fix.replication fix retry logic
fix https://github.com/chrislusf/seaweedfs/issues/3136
3 years ago
Konstantin Lebedev
44f53ceda6
fix collectionIsMismatch charset
3 years ago
Konstantin Lebedev
10d435f2c2
fix skip loop
3 years ago
Konstantin Lebedev
279053572c
avoid delete volume replica if collection mismatch
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
chrislu
f18803424a
volume.balance: add delay during tight loop
fix https://github.com/chrislusf/seaweedfs/issues/2637
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
chrislu
a2d3f89c7b
add lock messages
3 years ago
chrislu
e6c026db65
volume.fix.replication: fix misplaced volumes
fix https://github.com/chrislusf/seaweedfs/issues/2416
3 years ago
Chris Lu
5435027ff0
volume copy: stream out copying progress and avoid grpc request timeout
fix https://github.com/chrislusf/seaweedfs/issues/2386
3 years ago
Chris Lu
e862b2529a
refactor
3 years ago
Konstantin Lebedev
5e64b22b45
check that the topology has been updated
3 years ago
Konstantin Lebedev
2cecde89c3
rename opt volumesPerStep
3 years ago
Konstantin Lebedev
fc51ffce2b
https://github.com/chrislusf/seaweedfs/issues/1846
3 years ago
Chris Lu
119d5908dd
shell: do not need to lock to see volume -h
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
18bf556d93
fix comments
3 years ago
Chris Lu
b63b042afc
dedup keeps the largest replica
3 years ago
Chris Lu
26c222f596
shell: volume.tier.move avoid moving all volumes to one destination
3 years ago
Chris Lu
8cf0c515bf
shell: volume.fix.replication retries even when there is no error #2235
fix https://github.com/chrislusf/seaweedfs/issues/2235
3 years ago
Chris Lu
7359193e97
go fmt
3 years ago
Chris Lu
99155e4880
add `-retry` option for `volume.fix.replication`
fix https://github.com/chrislusf/seaweedfs/issues/2191
3 years ago
Chris Lu
fb7a1be1c4
refactor
3 years ago
Chris Lu
6a4546d2c0
shell: add volume.tier.move
4 years ago
Chris Lu
1c233ad986
refactoring
4 years ago