rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

the ldb tool ignores the `—column_family=` parameter with the `compact` command

Open ytrezq opened this issue 1 year ago • 1 comments

Took a while to understand why ldb compact always does nothing but after debugging in turns out the column family is never passed to CompactRange. Please fix this !

ytrezq avatar Sep 02 '22 10:09 ytrezq

@ytrezq Can you share the exact commands used to create the DB and then compact it?

anand1976 avatar Sep 13 '22 03:09 anand1976

I tried ./ldb compact --db=./tmp-db/ --column_family=column_family_name_000009, and verified it compacted "column_family_name_000009" and nothing else

ajkr avatar May 13 '23 22:05 ajkr