You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/17 15:44:00 UTC

[jira] [Resolved] (HBASE-10629) Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops

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

Andrew Kyle Purtell resolved HBASE-10629.
-----------------------------------------
      Assignee:     (was: Honghua Feng)
    Resolution: Abandoned

> 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: Honghua Feng
>            Priority: Major
>
> 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
(v8.20.7#820007)