This commit is contained in:
Chris Lu 2019-11-08 22:47:50 -08:00
parent 84c503c6a7
commit c34ffed43f

View file

@ -187,7 +187,7 @@ func (s *Store) CollectHeartbeat() *master_pb.Heartbeat {
location.RUnlock()
if len(deleteVids) > 0 {
// delete expired volumes.
// delete expired volumes.
location.Lock()
for _, vid := range deleteVids {
location.deleteVolumeById(vid)