aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/assign_file_id.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-09-09 23:42:56 +0500
committerGitHub <noreply@github.com>2024-09-09 11:42:56 -0700
commit15965f7c5421f60cc8f822ec34e1dc0da23ea1df (patch)
treeee5452e89d95e5263723ae460919c3a76e846cb3 /weed/operation/assign_file_id.go
parent4af21b0dfced547b540a6c20b03151cbc4faa6b5 (diff)
downloadseaweedfs-15965f7c5421f60cc8f822ec34e1dc0da23ea1df.tar.xz
seaweedfs-15965f7c5421f60cc8f822ec34e1dc0da23ea1df.zip
[shell] fix volume grow in shell (#5992)
* fix volume grow in shell * revert add Async * check available volume space * create a VolumeGrowRequest and remove unnecessary fields
Diffstat (limited to 'weed/operation/assign_file_id.go')
-rw-r--r--weed/operation/assign_file_id.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go
index cc8e87b21..13418da1a 100644
--- a/weed/operation/assign_file_id.go
+++ b/weed/operation/assign_file_id.go
@@ -264,7 +264,6 @@ func (so *StorageOption) ToAssignRequests(count int) (ar *VolumeAssignRequest, a
WritableVolumeCount: so.VolumeGrowthCount,
}
if so.DataCenter != "" || so.Rack != "" || so.DataNode != "" {
- ar.WritableVolumeCount = uint32(count)
altRequest = &VolumeAssignRequest{
Count: uint64(count),
Replication: so.Replication,