ddupg commented on a change in pull request #2943:
URL: https://github.com/apache/hbase/pull/2943#discussion_r578892073
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java
##########
@@ -148,12 +148,11 @@ public void run() {
}
}
} catch (IOException e) { // stream related
+ if (!handleEofException(e)) {
+ LOG.error("Failed to read stream of replication entries", e);
+ }
Review comment:
Nice question! We should skip sleep if the exception can be handled. I
modified it.
Thanks for reviwing.
----------------------------------------------------------------
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:
[email protected]