mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 02:59:13 +08:00
do not delete collection metrics when unmount a volume
fix https://github.com/seaweedfs/seaweedfs/issues/6139
This commit is contained in:
parent
6c7824c813
commit
d38456dc06
@ -535,7 +535,6 @@ func (s *Store) UnmountVolume(i needle.VolumeId) error {
|
||||
err := location.UnloadVolume(i)
|
||||
if err == nil {
|
||||
glog.V(0).Infof("UnmountVolume %d", i)
|
||||
stats.DeleteCollectionMetrics(v.Collection)
|
||||
s.DeletedVolumesChan <- message
|
||||
return nil
|
||||
} else if err == ErrVolumeNotFound {
|
||||
|
Loading…
Reference in New Issue
Block a user