[
https://issues.apache.org/jira/browse/HBASE-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918865#comment-13918865
]
Feng Honghua commented on HBASE-10651:
--------------------------------------
bq.How does going back to while to check if we need to terminate relate to
setting interrupt on thread? isActive doesn't seem to check thread state.
Yeah. Though I add interrupting replication thread in 'terminate' method after
the line setting 'running' to false, we still need to add checking interrupt
status in isActive() to make the overall logic complete/consistent, since
replication thread can possibly be interrupted directly rather than by calling
terminate() method from outside...
> Fix incorrect handling of IE that restores current thread's interrupt status
> within while/for loops in Replication
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-10651
> URL: https://issues.apache.org/jira/browse/HBASE-10651
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver, Replication
> Reporter: Feng Honghua
> Assignee: Feng Honghua
> Attachments: HBASE-10651-trunk_v1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)