Use rocksdb::WriteBatch in RaftLog::TruncateSuffix
Closed this issue · 2 comments
KernelMaker commented
Use rocksdb::WriteBatch to remove all useless log in one batch, it better than calling rocksdb::Delete one by one
baotiao commented
can you fix this issue? And can you suggest some other issue in how to use rocksdb in floyd @KernelMaker
KernelMaker commented
done