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/08 03:06:15 UTC

[GitHub] [incubator-iotdb] LebronAl commented on a change in pull request #1319: [Distrubuted] Peer tracker optimization

LebronAl commented on a change in pull request #1319:
URL: https://github.com/apache/incubator-iotdb/pull/1319#discussion_r436437645



##########
File path: cluster/src/main/java/org/apache/iotdb/cluster/log/catchup/CatchUpTask.java
##########
@@ -55,28 +55,32 @@ public CatchUpTask(Node node, Peer peer, RaftMember raftMember) {
   }
 
   /**
-   *
    * @return true if the matched index exceed the memory log bound so a snapshot is necessary, or
    * false if the catch up can be done using memory logs.
    * @throws TException
    * @throws InterruptedException
    */
   boolean checkMatchIndex() throws TException, InterruptedException, LeaderUnknownException {
+    boolean isLogDebug = logger.isDebugEnabled();
+    long lo = -1, hi;

Review comment:
       OK~




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