aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-08-01 13:46:52 -0700
committerChris Lu <chris.lu@gmail.com>2020-08-01 13:46:52 -0700
commit1b3a80dd3d97bcbfcc5e54c258b0a685fffc0525 (patch)
treedaedfd8217ba1ecd0556c76f1988b575f8a5ca63 /weed
parentbbbea8159c5aa7468af77595c7c845bb9a3c6796 (diff)
downloadseaweedfs-1b3a80dd3d97bcbfcc5e54c258b0a685fffc0525.tar.xz
seaweedfs-1b3a80dd3d97bcbfcc5e54c258b0a685fffc0525.zip
non-fatal error
Diffstat (limited to 'weed')
-rw-r--r--weed/operation/chunked_file.go2
-rw-r--r--weed/util/http_util.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/operation/chunked_file.go b/weed/operation/chunked_file.go
index 653b7bf13..1bac028ff 100644
--- a/weed/operation/chunked_file.go
+++ b/weed/operation/chunked_file.go
@@ -57,7 +57,7 @@ func LoadChunkManifest(buffer []byte, isCompressed bool) (*ChunkManifest, error)
if isCompressed {
var err error
if buffer, err = util.DecompressData(buffer); err != nil {
- return nil, err
+ glog.V(0).Infof("fail to decompress chunk manifest: %v", err)
}
}
cm := ChunkManifest{}
diff --git a/weed/util/http_util.go b/weed/util/http_util.go
index 865d94546..5159fcd17 100644
--- a/weed/util/http_util.go
+++ b/weed/util/http_util.go
@@ -338,7 +338,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool
if isContentCompressed {
decryptedData, err = DecompressData(decryptedData)
if err != nil {
- glog.V(0).Info("unzip decrypt %s: %v", fileUrl, err)
+ glog.V(0).Infof("unzip decrypt %s: %v", fileUrl, err)
}
}
if len(decryptedData) < int(offset)+size {