mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
print out log message
This commit is contained in:
parent
3dbebfd1e1
commit
37dd41ab91
|
@ -167,6 +167,7 @@ func (s *Store) CheckCompactVolume(volumeIdString string, garbageThresholdString
|
|||
return fmt.Errorf("garbageThreshold %s is not a valid float number!", garbageThresholdString), false
|
||||
}
|
||||
if v := s.findVolume(vid); v != nil {
|
||||
glog.V(3).Infoln(vid, "garbage level is", v.garbageLevel())
|
||||
return nil, garbageThreshold < v.garbageLevel()
|
||||
}
|
||||
return fmt.Errorf("volume id %s is not found during check compact!", vid), false
|
||||
|
|
Loading…
Reference in a new issue