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] [Updated] (HBASE-10629) Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops
Date Sun, 02 Mar 2014 12:37:19 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Feng Honghua updated HBASE-10629:
---------------------------------

    Component/s:     (was: master)
                     (was: Client)

> Fix incorrect handling of IE that restores current thread's interrupt status within while/for
loops
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10629
>                 URL: https://issues.apache.org/jira/browse/HBASE-10629
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver, Replication
>            Reporter: Feng Honghua
>            Assignee: Feng Honghua
>
> There are about three kinds of typical incorrect handling of IE thrown during sleep()
in current code base:
> # Shadow it totally -- Has been fixed by HBASE-10497
> # Restore current thread's interrupt status implicitly within while/for loops (Threads.sleep()
being called within while/for loops)  -- Has been fixed by HBASE-10516
> # Restore current thread's interrupt status explicitly within while/for loops (directly
interrupt current thread within while/for loops)
> There are still places with the last kind of handling error, and as HBASE-10497/HBASE-10516,
the last kind of errors should be fixed according to their real scenarios case by case. This
is created to serve as a parent jira to fix the last kind errors in a systematic manner



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

Mime
View raw message