jingkai.yuan 82f1c1418b Fix corruption error when compressing blob data with zlib. (#9572)
Summary:
The plain data length may not be big enough if the compression actually expands data. So use deflateBound() to get the upper limit on the compressed output before deflate().

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9572

Reviewed By: riversand963

Differential Revision: D34326475

Pulled By: ajkr

fbshipit-source-id: 4b679cb7a83a62782a127785b4d5eb9aa4646449
2022-03-07 15:35:34 -08:00
..
2021-08-20 18:41:51 -07:00
2020-04-20 13:24:25 -07:00
2017-07-15 16:11:23 -07:00
2021-08-20 18:41:51 -07:00
2021-08-20 18:41:51 -07:00