Browse Source

unnecessary skipping

pull/5957/head
chrislu 4 months ago
parent
commit
3c0854e986
  1. 7
      weed/topology/volume_layout.go

7
weed/topology/volume_layout.go

@ -511,12 +511,7 @@ func (vl *VolumeLayout) SetVolumeCrowded(vid needle.VolumeId) {
vl.accessLock.RLock()
defer vl.accessLock.RUnlock()
for _, v := range vl.writables {
if v == vid {
vl.setVolumeCrowded(vid)
break
}
}
vl.setVolumeCrowded(vid)
}
type VolumeLayoutInfo struct {

Loading…
Cancel
Save