sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.57k stars 1.14k forks source link

Proposal: remove HybridLogStorage and LogitLogStorage #914

Open killme2008 opened 1 year ago

killme2008 commented 1 year ago

Looks like RocksDB 7.7.3 has a better performance when compaction happens, and we don't have any plan or resource to improve LogitLogStorage and HybridLogStorage.

I don't know if there are any users using these two implementations, we can remove them if not.

And maybe consider removing RocksDBSegmentLogStorage too.

Excpt0r commented 1 year ago

Hi @killme2008, I was just about to file a bug (including a possible solution) for the HybridLogStorage and stumbled across this ticket.

So if I understand correctly, LogitLogStorage will not be the "new" storage format, instead rocksdb will be kept? Any suggestion on the best approach, if only leader election is needed?

Thanks for your help.

Excpt0r commented 1 year ago

@killme2008 @fengjiachun any news on that topic?