Browse Source

release file handle

tikv
Chris Lu 5 years ago
parent
commit
88a110e67e
  1. 1
      weed/storage/volume_vacuum.go

1
weed/storage/volume_vacuum.go

@ -381,6 +381,7 @@ func copyDataBasedOnIndexFile(srcDatName, srcIdxName, dstDatName, datIdxName str
return err
}
srcDatBackend = backend.NewDiskFile(dataFile)
defer srcDatBackend.Close()
now := uint64(time.Now().Unix())

Loading…
Cancel
Save