mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-14 01:58:33 +02:00
unnecessary skipping
This commit is contained in:
1 parent
654b8210f7
commit
3c0854e986
1 file changed
+1
-6
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user