forked from TrueCloudLab/frostfs-node
[#222] Do not compress data in blobovniczas
Blobovnicza returns object, so we can't put compressed data there. Compressed data won't be deserialized correctly. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
4114028a63
commit
af2719689d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func (b *BlobStor) Put(prm *PutPrm) (*PutRes, error) {
|
|||
return new(PutRes), b.fsTree.put(prm.obj.Address(), data)
|
||||
} else {
|
||||
// save object in blobovnicza
|
||||
res, err := b.blobovniczas.put(prm.obj.Address(), b.compressor(data))
|
||||
res, err := b.blobovniczas.put(prm.obj.Address(), data)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue