aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/topology/volume_layout.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go
index 760cecbdd..377122cae 100644
--- a/weed/topology/volume_layout.go
+++ b/weed/topology/volume_layout.go
@@ -104,6 +104,8 @@ func (v *volumesBinaryState) copyState(list *VolumeLocationList) copyState {
// mapping from volume to its locations, inverted from server to volume
type VolumeLayout struct {
+ growRequestCount int32
+ growRequestTime time.Time
rp *super_block.ReplicaPlacement
ttl *needle.TTL
diskType types.DiskType
@@ -115,8 +117,6 @@ type VolumeLayout struct {
volumeSizeLimit uint64
replicationAsMin bool
accessLock sync.RWMutex
- growRequestCount int32
- growRequestTime time.Time
}
type VolumeLayoutStats struct {