mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-30 14:21:00 +02:00
release file handle
This commit is contained in:
parent
43e6261579
commit
88a110e67e
|
@ -381,6 +381,7 @@ func copyDataBasedOnIndexFile(srcDatName, srcIdxName, dstDatName, datIdxName str
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
srcDatBackend = backend.NewDiskFile(dataFile)
|
srcDatBackend = backend.NewDiskFile(dataFile)
|
||||||
|
defer srcDatBackend.Close()
|
||||||
|
|
||||||
now := uint64(time.Now().Unix())
|
now := uint64(time.Now().Unix())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue