mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 03:08:51 +08:00
Merge branch 'master' into support_ssd_volume
This commit is contained in:
@@ -267,12 +267,12 @@ func (s *Store) CollectHeartbeat() *master_pb.Heartbeat {
|
||||
location.volumesLock.Lock()
|
||||
for _, vid := range deleteVids {
|
||||
found, err := location.deleteVolumeById(vid)
|
||||
if found {
|
||||
if err == nil {
|
||||
if err == nil {
|
||||
if found {
|
||||
glog.V(0).Infof("volume %d is deleted", vid)
|
||||
} else {
|
||||
glog.V(0).Infof("delete volume %d: %v", vid, err)
|
||||
}
|
||||
} else {
|
||||
glog.V(0).Infof("delete volume %d: %v", vid, err)
|
||||
}
|
||||
}
|
||||
location.volumesLock.Unlock()
|
||||
|
Reference in New Issue
Block a user