[
https://issues.apache.org/jira/browse/RATIS-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
runzhiwang updated RATIS-1327:
------------------------------
Description:
[~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.
was:
[~szetszwo] Hi, this is just a discussion.
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.
> 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)