mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-03 10:37:35 +01:00
less verbose logs
fix https://github.com/chrislusf/seaweedfs/discussions/2925#discussioncomment-2584085
This commit is contained in:
1 parent
39b1e1b630
commit
4524ceae6b
1 file changed
+5
-2
@@ -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