hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Honghua (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10652) Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops in rpc
Date Sun, 02 Mar 2014 12:47:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917396#comment-13917396
] 

Feng Honghua commented on HBASE-10652:
--------------------------------------

Strictly speaking the previous implementation is correct in logic since the loop is terminated
by setting running to false and interrupting the hosting thread concurrently, but it's still
better to align with the standard handling idiom here.

> Fix incorrect handling of IE that restores current thread's interrupt status within while/for
loops in rpc
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10652
>                 URL: https://issues.apache.org/jira/browse/HBASE-10652
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Replication
>            Reporter: Feng Honghua
>            Assignee: Feng Honghua
>            Priority: Minor
>         Attachments: HBASE-10652-trunk_v1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message