mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
less verbose logs
fix https://github.com/chrislusf/seaweedfs/discussions/2925#discussioncomment-2584085
This commit is contained in:
parent
39b1e1b630
commit
4524ceae6b
|
@ -440,8 +440,11 @@ func (vl *VolumeLayout) SetVolumeCapacityFull(vid needle.VolumeId) bool {
|
|||
vl.accessLock.Lock()
|
||||
defer vl.accessLock.Unlock()
|
||||
|
||||
wasWritable := vl.removeFromWritable(vid)
|
||||
if wasWritable {
|
||||
glog.V(0).Infof("Volume %d reaches full capacity.", vid)
|
||||
return vl.removeFromWritable(vid)
|
||||
}
|
||||
return wasWritable
|
||||
}
|
||||
|
||||
func (vl *VolumeLayout) removeFromCrowded(vid needle.VolumeId) {
|
||||
|
|
Loading…
Reference in a new issue