Skip to content

Clarify ldb unsupported compaction style error#14770

Open
richinmrudul wants to merge 1 commit into
facebook:mainfrom
richinmrudul:fix-ldb-compaction-style-error-message
Open

Clarify ldb unsupported compaction style error#14770
richinmrudul wants to merge 1 commit into
facebook:mainfrom
richinmrudul:fix-ldb-compaction-style-error-message

Conversation

@richinmrudul
Copy link
Copy Markdown

Summary:
Clarifies the ldb error message shown when attempting to convert from universal compaction to level compaction. The previous message made it sound like there was simply nothing to do, while the operation is actually unsupported by ldb.

Fixes #10596

Test Plan:
make ldb -j8
git diff --check
./ldb --db=/tmp/rocksdb_ldb_dummy change_compaction_style --old_compaction_style=1 --new_compaction_style=0

@meta-cla meta-cla Bot added the CLA Signed label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ldb tool : please make the error message when converting from universal compaction to level compaction more descriptive.

2 participants