diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go index c8ee3b3c9..7e3f3264d 100644 --- a/weed/topology/volume_layout.go +++ b/weed/topology/volume_layout.go @@ -139,7 +139,7 @@ func (vl *VolumeLayout) PickForWrite(count uint64, option *VolumeGrowOption) (*s } } } - return &vid, count, locationList, nil + return &vid, count, locationList.Duplicate(), nil } func (vl *VolumeLayout) GetActiveVolumeCount(option *VolumeGrowOption) int {