aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/volume_growth.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-09-04 20:16:44 +0500
committerGitHub <noreply@github.com>2024-09-04 08:16:44 -0700
commit67a252ee8a0cbcf0f33cb7c94de21d4791ef1f39 (patch)
tree36c494fa2bba916714cd0ac53e9070a4a1295d6b /weed/topology/volume_growth.go
parenteb02946c977be57a0325d9ed86847699e99661c1 (diff)
downloadseaweedfs-67a252ee8a0cbcf0f33cb7c94de21d4791ef1f39.tar.xz
seaweedfs-67a252ee8a0cbcf0f33cb7c94de21d4791ef1f39.zip
[master] refactor func ShouldGrowVolumes (#5884)
Diffstat (limited to 'weed/topology/volume_growth.go')
-rw-r--r--weed/topology/volume_growth.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/topology/volume_growth.go b/weed/topology/volume_growth.go
index 7f8684753..70f0d9cd4 100644
--- a/weed/topology/volume_growth.go
+++ b/weed/topology/volume_growth.go
@@ -28,6 +28,7 @@ This package is created to resolve these replica placement issues:
type VolumeGrowRequest struct {
Option *VolumeGrowOption
Count uint32
+ Force bool
}
type volumeGrowthStrategy struct {