You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/10/23 19:39:00 UTC
[jira] [Created] (HBASE-19072) Missing beak in catch block of
InterruptedException in HRegion#waitForFlushes()
Ted Yu created HBASE-19072:
------------------------------
Summary: Missing beak in catch block of InterruptedException in HRegion#waitForFlushes()
Key: HBASE-19072
URL: https://issues.apache.org/jira/browse/HBASE-19072
Project: HBase
Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
During review of HBASE-18358, [~elserj] found that there was missing break in the catch block:
{code}
} catch (InterruptedException iex) {
// essentially ignore and propagate the interrupt back up
LOG.warn("Interrupted while waiting");
interrupted = true;
}
{code}
When thread is interrupted, we shouldn't retry flushing anymore.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)