aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filechunk_manifest.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-08-19 00:43:07 -0700
committerChris Lu <chris.lu@gmail.com>2020-08-19 00:43:07 -0700
commitc27e18aa6a1c17190816d95876e45093646d477a (patch)
tree4a3cfd503a9bee031a8eb85387b14d0e526b8f07 /weed/filer2/filechunk_manifest.go
parenta78772d5ea235e55ef515d1de28c2201ee9a5d66 (diff)
downloadseaweedfs-c27e18aa6a1c17190816d95876e45093646d477a.tar.xz
seaweedfs-c27e18aa6a1c17190816d95876e45093646d477a.zip
read possible old deleted chunks
Diffstat (limited to 'weed/filer2/filechunk_manifest.go')
-rw-r--r--weed/filer2/filechunk_manifest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer2/filechunk_manifest.go b/weed/filer2/filechunk_manifest.go
index 62d2c6e7f..037b0c1e8 100644
--- a/weed/filer2/filechunk_manifest.go
+++ b/weed/filer2/filechunk_manifest.go
@@ -64,7 +64,7 @@ func fetchChunk(lookupFileIdFn LookupFileIdFunctionType, fileId string, cipherKe
return nil, err
}
var buffer bytes.Buffer
- err = util.ReadUrlAsStream(urlString, cipherKey, isGzipped, true, 0, 0, func(data []byte) {
+ err = util.ReadUrlAsStream(urlString+"?readDeleted=true", cipherKey, isGzipped, true, 0, 0, func(data []byte) {
buffer.Write(data)
})
if err != nil {