print out log message

This commit is contained in:
Chris Lu 2014-03-19 04:41:41 -07:00
parent 3dbebfd1e1
commit 37dd41ab91

View file

@ -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