From ea09fb477a20292f5bd6bd755e2c496df063eae3 Mon Sep 17 00:00:00 2001 From: Tanmoy Majumdar Date: Fri, 3 Dec 2021 11:54:20 +0600 Subject: [PATCH] return ' shouldRetry=true' so that filer can retry the failed chunk --- weed/util/http_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/http_util.go b/weed/util/http_util.go index f005e8d42..7bd6758eb 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -326,7 +326,7 @@ func ReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped bool, is return false, nil } if err != nil { - return false, err + return true, err } }