rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

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

Open ytrezq opened this issue 2 years ago • 1 comments

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.

ytrezq avatar Aug 31 '22 08:08 ytrezq

Or as an alternative in my case, how to convert it to plaintable based from block based ?

ytrezq avatar Aug 31 '22 08:08 ytrezq