diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-08-19 00:43:07 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-08-19 00:43:07 -0700 |
| commit | c27e18aa6a1c17190816d95876e45093646d477a (patch) | |
| tree | 4a3cfd503a9bee031a8eb85387b14d0e526b8f07 /weed/filer2/filechunk_manifest.go | |
| parent | a78772d5ea235e55ef515d1de28c2201ee9a5d66 (diff) | |
| download | seaweedfs-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.go | 2 |
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 { |
