diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-28 16:19:47 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-28 16:19:47 -0800 |
| commit | 9abb041763f711a34b5049dcfce84033d0dc2171 (patch) | |
| tree | ab46882e34751aef52cb281ba116793d046b6a41 /weed/filer/stream.go | |
| parent | 678c54d705e5c29b2fdb580158a4455703b46a0d (diff) | |
| download | seaweedfs-9abb041763f711a34b5049dcfce84033d0dc2171.tar.xz seaweedfs-9abb041763f711a34b5049dcfce84033d0dc2171.zip | |
filer source: support filerProxy mode
Diffstat (limited to 'weed/filer/stream.go')
| -rw-r--r-- | weed/filer/stream.go | 2 |
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 { |
