Browse Source

fix leveldb mount bug

pull/642/head
liwenlong05 7 years ago
parent
commit
02a1597642
  1. 1
      weed/storage/disk_location.go

1
weed/storage/disk_location.go

@ -168,6 +168,7 @@ func (l *DiskLocation) UnloadVolume(vid VolumeId) error {
if !ok {
return fmt.Errorf("Volume not loaded, VolumeId: %d", vid)
}
l.volumes[vid].Close()
delete(l.volumes, vid)
return nil
}

Loading…
Cancel
Save