aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/store.go')
-rw-r--r--weed/storage/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/storage/store.go b/weed/storage/store.go
index d9c9b0e35..6aeced465 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -271,6 +271,7 @@ func (s *Store) UnmountVolume(i needle.VolumeId) error {
Version: uint32(v.Version()),
Ttl: v.Ttl.ToUint32(),
}
+
for _, location := range s.Locations {
if err := location.UnloadVolume(i); err == nil {
glog.V(0).Infof("UnmountVolume %d", i)