mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
non-fatal error
This commit is contained in:
parent
bbbea8159c
commit
1b3a80dd3d
|
@ -57,7 +57,7 @@ func LoadChunkManifest(buffer []byte, isCompressed bool) (*ChunkManifest, error)
|
||||||
if isCompressed {
|
if isCompressed {
|
||||||
var err error
|
var err error
|
||||||
if buffer, err = util.DecompressData(buffer); err != nil {
|
if buffer, err = util.DecompressData(buffer); err != nil {
|
||||||
return nil, err
|
glog.V(0).Infof("fail to decompress chunk manifest: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cm := ChunkManifest{}
|
cm := ChunkManifest{}
|
||||||
|
|
|
@ -338,7 +338,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool
|
||||||
if isContentCompressed {
|
if isContentCompressed {
|
||||||
decryptedData, err = DecompressData(decryptedData)
|
decryptedData, err = DecompressData(decryptedData)
|
||||||
if err != nil {
|
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 {
|
if len(decryptedData) < int(offset)+size {
|
||||||
|
|
Loading…
Reference in a new issue