aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/rack.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-03 21:36:42 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-03 21:36:42 -0800
commite426bd541e20d7b107a9de2774e365771a9950d9 (patch)
treed6a4afad1a02dfa2f60cb838b053cfb8676e7e6a /weed/topology/rack.go
parent7ae8b1cc860b612171d73c7dfbf1e46b028c85bf (diff)
downloadseaweedfs-e426bd541e20d7b107a9de2774e365771a9950d9.tar.xz
seaweedfs-e426bd541e20d7b107a9de2774e365771a9950d9.zip
grow volumes on volume servers with slots freed by cloud storage
Diffstat (limited to 'weed/topology/rack.go')
-rw-r--r--weed/topology/rack.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/topology/rack.go b/weed/topology/rack.go
index 932c1a804..1921c0c05 100644
--- a/weed/topology/rack.go
+++ b/weed/topology/rack.go
@@ -67,6 +67,7 @@ func (r *Rack) ToRackInfo() *master_pb.RackInfo {
MaxVolumeCount: uint64(r.GetMaxVolumeCount()),
FreeVolumeCount: uint64(r.FreeSpace()),
ActiveVolumeCount: uint64(r.GetActiveVolumeCount()),
+ RemoteVolumeCount: uint64(r.GetRemoteVolumeCount()),
}
for _, c := range r.Children() {
dn := c.(*DataNode)