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
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.
The text was updated successfully, but these errors were encountered:
Hi @killme2008,
I was just about to file a bug (including a possible solution) for the HybridLogStorage and stumbled across this ticket.
I switched from default rocksDB to HybridLogJRaftServiceFactory, because rocksDB has binary dependencies that were not fulfilled by my base container image (switched to alpine). Using the java-log-storage-impl extension looked like a good idea to reduce dependencies.
Actually I use jraft only for a fast and reliable leader election implementation. So I guess for that use case, no storage would be needed at all (in fact I delete and re-create the dataPath directory at startup). I gave a small try to implement an empty dummy DefaultJRaftServiceFactory, but jraft-core does some consistency checks on the log contents.
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?
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
andHybridLogStorage
.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.The text was updated successfully, but these errors were encountered: