facebook / facebook/rocksdb

sst_dump --command=recompress --compression_types=kNoCompression does uncompress nothing in the case of that specific file

Open
#10,619 1 comment 0 reactions 0 assignees View on GitHub
question up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

I have a file compressed using Snappy but when I try to use `sst_dump` from the latest commit, the file is left unchanged.

sh-5.1# ./sst_dump --file=/mnt/xdai/db/3c648cbdc4c9333d/archive/db/1864667.sst --command=recompress --compression_types=kNoCompression
from [] to []
Process /mnt/xdai/db/3c648cbdc4c9333d/archive/db/1864667.sst
Sst file format: block-based
Block Size: 16384
Compression: kNoCompression Size: 129427958
sh-5.1#
[it can be downloaded from here](https://drive.google.com/file/d/1mQfFuOCJulM4VUncSDArvTN0qgwHGXoI/view?usp=sharing).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.