mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 16:53:14 +08:00
less verbose logs
fix https://github.com/chrislusf/seaweedfs/discussions/2925#discussioncomment-2584085
This commit is contained in:
@@ -440,8 +440,11 @@ func (vl *VolumeLayout) SetVolumeCapacityFull(vid needle.VolumeId) bool {
|
||||
vl.accessLock.Lock()
|
||||
defer vl.accessLock.Unlock()
|
||||
|
||||
glog.V(0).Infof("Volume %d reaches full capacity.", vid)
|
||||
return vl.removeFromWritable(vid)
|
||||
wasWritable := vl.removeFromWritable(vid)
|
||||
if wasWritable {
|
||||
glog.V(0).Infof("Volume %d reaches full capacity.", vid)
|
||||
}
|
||||
return wasWritable
|
||||
}
|
||||
|
||||
func (vl *VolumeLayout) removeFromCrowded(vid needle.VolumeId) {
|
||||
|
||||
Reference in New Issue
Block a user