aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/stream.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-28 16:19:47 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-28 16:19:47 -0800
commit9abb041763f711a34b5049dcfce84033d0dc2171 (patch)
treeab46882e34751aef52cb281ba116793d046b6a41 /weed/filer/stream.go
parent678c54d705e5c29b2fdb580158a4455703b46a0d (diff)
downloadseaweedfs-9abb041763f711a34b5049dcfce84033d0dc2171.tar.xz
seaweedfs-9abb041763f711a34b5049dcfce84033d0dc2171.zip
filer source: support filerProxy mode
Diffstat (limited to 'weed/filer/stream.go')
-rw-r--r--weed/filer/stream.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/stream.go b/weed/filer/stream.go
index 075204b79..6a87a2b7d 100644
--- a/weed/filer/stream.go
+++ b/weed/filer/stream.go
@@ -181,7 +181,7 @@ func (c *ChunkStreamReader) fetchChunkToBuffer(chunkView *ChunkView) error {
var buffer bytes.Buffer
var shouldRetry bool
for _, urlString := range urlStrings {
- shouldRetry, err = util.FastReadUrlAsStream(urlString+"?readDeleted=true", chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), chunkView.Offset, int(chunkView.Size), func(data []byte) {
+ shouldRetry, err = util.FastReadUrlAsStream(urlString, chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), chunkView.Offset, int(chunkView.Size), func(data []byte) {
buffer.Write(data)
})
if !shouldRetry {