sofastack / sofa-jraft

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

support higher rocksdb version #1057

Closed leizhiyuan closed 6 months ago

leizhiyuan commented 6 months ago

Your question

Describe your question clearly

image

in higher version of rocksdb, org.rocksdb,BlockBasedTableConfig.blockCacheCompressedSize()j has been removed https://github.com/facebook/rocksdb/blob/8d50a7c9df2352e4949aa456206bbd7b9ee49620/java/src/main/java/org/rocksdb/BlockBasedTableConfig.java#L13

Your scenes

Describe your use scenes (why need this feature)

Your advice

Describe the advice or solution you'd like

remove this settings

Environment

fengjiachun commented 6 months ago

Hi, @leizhiyuan , thank you for pointing out this issue, would you be willing to send a pull request to address it?

leizhiyuan commented 6 months ago

Hi, @leizhiyuan , thank you for pointing out this issue, would you be willing to send a pull request to address it?

ok,we use jraft in rocketmq https://github.com/apache/rocketmq/pull/7301

rocketmq has a repackage rocskdb verison based on higher rocksdb version