sandeepvinayak commented on a change in pull request #2966: URL: https://github.com/apache/hbase/pull/2966#discussion_r580040046
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java ########## @@ -147,14 +147,13 @@ public void run() { } } } catch (IOException e) { // stream related - if (sleepMultiplier < maxRetriesMultiplier) { - LOG.debug("Failed to read stream of replication entries: " + e); - sleepMultiplier++; - } else { - LOG.error("Failed to read stream of replication entries", e); - handleEofException(e); + if (!handleEofException(e)) { Review comment: yeah, but in handleEofException, we deque the bad(or empty) log file and do the repair work. So if we did the repair work why not reset the sleep multiplier? ---------------------------------------------------------------- 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: us...@infra.apache.org