Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
raft cf use dedicated rocksdb #2054
it is better to record a version key (1.0.0) in KV RocksDB, if not exist, we can not start. And I think it is dangerous to drop the discarded CF directly.
Btw, I think we should keep raft CF in KV RocksDB and still save raft apply index, if not, each apply will cover the whole range from 0x01 (apply index) to 'z' (data), which may cause compaction high pressure. /cc @zhangjinpeng1987