Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The whole write cost about 140ms, and 110ms was cost by force sync to disk. The force sync operations are as follows.
RocksDB
1. When create key, the response was put into omDoubleBufferHelper, and sync to disk by writeOptions.setSync(true)
2. When commit key, the response was put into omDoubleBufferHelper, and sync to disk by writeOptions.setSync(true)
Ratis
1. leader and follower sync raftlog to disk