Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD9BB109FA for ; Sun, 2 Mar 2014 12:47:21 +0000 (UTC) Received: (qmail 72109 invoked by uid 500); 2 Mar 2014 12:47:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 72079 invoked by uid 500); 2 Mar 2014 12:47:20 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 72069 invoked by uid 99); 2 Mar 2014 12:47:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2014 12:47:20 +0000 Date: Sun, 2 Mar 2014 12:47:20 +0000 (UTC) From: "Feng Honghua (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10652) Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops in rpc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)