You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/12/06 02:45:20 UTC

[GitHub] [iotdb] OneSizeFitsQuorum commented on a diff in pull request #8339: [IOTDB-5123] fix ratis disk control param mismatch

OneSizeFitsQuorum commented on code in PR #8339:
URL: https://github.com/apache/iotdb/pull/8339#discussion_r1040363710


##########
confignode/src/main/java/org/apache/iotdb/confignode/manager/ConsensusManager.java:
##########
@@ -166,7 +166,7 @@ private void setConsensusLayer(ConfigNodeRegionStateMachine stateMachine) throws
                                       .setClientRetryMaxSleepTimeMs(
                                           CONF.getConfigNodeRatisMaxSleepTimeMs())
                                       .setTriggerSnapshotFileSize(
-                                          CONF.getConfigNodeRatisLogMaxMB() * 1024 * 1024)

Review Comment:
   * 1024 * 1024?



-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org