[
https://issues.apache.org/jira/browse/RATIS-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296874#comment-17296874
]
Tsz-wo Sze commented on RATIS-1327:
-----------------------------------
Rocksdb will do compaction. I am not sure how to make it works with raft log.
> ... Baidu company has changed mysql to use raft log, and avoid writting
> binlog.
Do you know if they support compaction?
BTW, MySQL has a pluggable storage but rocksdb seems not.
> Discussion about merging the wal log of RocksDB and raft log
> ------------------------------------------------------------
>
> Key: RATIS-1327
> URL: https://issues.apache.org/jira/browse/RATIS-1327
> Project: Ratis
> Issue Type: Improvement
> Reporter: runzhiwang
> Priority: Major
>
> [~szetszwo] Hi, this is just a discussion.
> Currently, when ratis commit log, ozone will write data to Rocksdb. In my
> thinking, raft write raft log on disk, and rocksdb also write wal log on
> disk, there are two log need to be wrote. If rocksdb can avoid writting wal
> log, and use raft log directly, it can improve performance, but we need to
> change the code of rocksdb.
> I just throw this idea, because I do not know how to change the code of
> Rocksdb. Baidu company has changed mysql to use raft log, and avoid writting
> binlog.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)