Apache9 commented on a change in pull request #2521:
URL: https://github.com/apache/hbase/pull/2521#discussion_r502741250
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java
##########
@@ -475,7 +476,7 @@ public boolean replicate(ReplicateContext replicateContext)
{
}
List<List<Entry>> batches = createBatches(replicateContext.getEntries());
- while (this.isRunning() && !exec.isShutdown()) {
+ while (this.isRunning() && !exec.isShutdown() &&
!Thread.currentThread().isInterrupted()) {
Review comment:
This means we eat the interrupted exception at some places? Can we
propagate it to the upper layer?
----------------------------------------------------------------
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]