diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-03-19 04:41:41 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-03-19 04:41:41 -0700 |
| commit | 37dd41ab91147e1c1f3a656b062166fca0e8b017 (patch) | |
| tree | 0237d60a522af30f7eaf671533e6d9cb94680bce /go | |
| parent | 3dbebfd1e1f11f7be84fa178a63032367bf122dd (diff) | |
| download | seaweedfs-37dd41ab91147e1c1f3a656b062166fca0e8b017.tar.xz seaweedfs-37dd41ab91147e1c1f3a656b062166fca0e8b017.zip | |
print out log message
Diffstat (limited to 'go')
| -rw-r--r-- | go/storage/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/go/storage/store.go b/go/storage/store.go index 664328b17..2e1db77c4 100644 --- a/go/storage/store.go +++ b/go/storage/store.go @@ -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 |
