|
@ -221,7 +221,7 @@ func (s *Store) CollectHeartbeat() *master_pb.Heartbeat { |
|
|
if v.expiredLongEnough(MAX_TTL_VOLUME_REMOVAL_DELAY) { |
|
|
if v.expiredLongEnough(MAX_TTL_VOLUME_REMOVAL_DELAY) { |
|
|
deleteVids = append(deleteVids, v.Id) |
|
|
deleteVids = append(deleteVids, v.Id) |
|
|
} else { |
|
|
} else { |
|
|
glog.V(0).Infoln("volume %d is expired", v.Id) |
|
|
|
|
|
|
|
|
glog.V(0).Infof("volume %d is expired", v.Id) |
|
|
} |
|
|
} |
|
|
if v.lastIoError != nil { |
|
|
if v.lastIoError != nil { |
|
|
deleteVids = append(deleteVids, v.Id) |
|
|
deleteVids = append(deleteVids, v.Id) |
|
|