You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which seems to be a problem. This issue still exists in the latest version of RocksDB.
Expected behavior
when using a custom Comparator to open rocksdb,The function LDBTool::run should set std::vector column_families to ldb tool, and should work fine to admin the database.
Actual behavior
root$ ../build/tools/ldb --db=./testdb drop_column_family new_cf
Failed: Invalid argument: leveldb.BytewiseComparator: does not match existing comparator my_comparator
g++ --std=c++11 my_comparator.cc -o ldb_test -I ../include ../build_release/librocksdb.a -lpthread
#run to create db with two cf
./ldb_test
#run to drop new_cf and got failed
./ldb_test --db=./testdb drop_column_family new_cf
Failed: Invalid argument: leveldb.BytewiseComparator: does not match existing comparator my_comparator
I think it has been long enough since the last update to assume nobody is working on it. Just make sure to confirm the provided instructions still repro the bug, as there's a chance somebody fixed it without closing the issue.
The parameter column_families in the LDBTool::Run function did not take effect while using a custom Comparator or other custom scenarios:
which seems to be a problem. This issue still exists in the latest version of RocksDB.
Expected behavior
when using a custom Comparator to open rocksdb,The function
LDBTool::run
should set std::vector column_families to ldb tool, and should work fine to admin the database.Actual behavior
Steps to reproduce the behavior
compile and run:
how to fix
set column_families for
command
here:rocksdb/tools/ldb_cmd.cc
Line 200 in 15053f3
I may try to fix it if it's a real issue.
The text was updated successfully, but these errors were encountered: