mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix return value in storage/volume_vacuum.go:444
This commit is contained in:
parent
26f3ab8d4b
commit
3e7aa1caf5
|
@ -441,7 +441,7 @@ func copyDataBasedOnIndexFile(srcDatName, srcIdxName, dstDatName, datIdxName str
|
|||
n := new(needle.Needle)
|
||||
err := n.ReadData(srcDatBackend, offset.ToActualOffset(), size, version)
|
||||
if err != nil {
|
||||
return nil
|
||||
return fmt.Errorf("cannot hydrate needle from file: %s", err)
|
||||
}
|
||||
|
||||
if n.HasTtl() && now >= n.LastModified+uint64(sb.Ttl.Minutes()*60) {
|
||||
|
|
Loading…
Reference in a new issue