SteNicholas commented on code in PR #2480:
URL: https://github.com/apache/celeborn/pull/2480#discussion_r1618045872
##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -2260,6 +2261,14 @@ object CelebornConf extends Logging {
.bytesConf(ByteUnit.BYTE)
.createWithDefaultString("4MB")
+ val HA_MASTER_RATIS_LOG_WRITE_BUFFER_SIZE: ConfigEntry[Long] =
Review Comment:
@RexXiong, Although the default value of `raft.server.log.write.buffer.size`
is `8MB`, but there is a limit that `bufferSize >= logEntryLimit + 8` in
`SegmentedRaftLogWorker`, which refers to
https://github.com/apache/ratis/blob/master/ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/SegmentedRaftLogWorker.java#L213.
I have updated the default value to `36MB`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]