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 2020/06/10 06:51:13 UTC

[GitHub] [incubator-iotdb] neuyilan commented on a change in pull request #1339: [IOTDB-723] add raft log delete mechanism

neuyilan commented on a change in pull request #1339:
URL: https://github.com/apache/incubator-iotdb/pull/1339#discussion_r437896543



##########
File path: cluster/src/main/java/org/apache/iotdb/cluster/log/manage/RaftLogManager.java
##########
@@ -50,6 +54,17 @@
   private long commitIndex;
   private LogApplier logApplier;
 
+  /**
+   * the max number of committed logs to be saved
+   */
+  private int maxNumberLogs = 100;

Review comment:
       I have put the MAX_NUMBER_OF_LOGS and   LOG_DELETION_CHECK_INTERVAL_SECOND in iotdb-cluster.properties 




----------------------------------------------------------------
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.

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