You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2019/02/01 20:05:01 UTC

[jira] [Updated] (HBASE-20280) Fix possibility of deadlocking in refreshFileConnections when prefetch is enabled

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

Andrew Purtell updated HBASE-20280:
-----------------------------------
    Fix Version/s:     (was: 1.5.0)

> Fix possibility of deadlocking in refreshFileConnections when prefetch is enabled
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-20280
>                 URL: https://issues.apache.org/jira/browse/HBASE-20280
>             Project: HBase
>          Issue Type: Bug
>          Components: BucketCache
>    Affects Versions: 2.0.0-beta-2, 1.4.2
>            Reporter: Zach York
>            Assignee: Zach York
>            Priority: Major
>             Fix For: 1.4.4, 2.0.0
>
>         Attachments: HBASE-20280.master.001.patch
>
>
> When prefetch on open is specified, there is a deadlocking case
> where if the prefetch is cancelled, the PrefetchExecutor interrupts
> the threads if necessary, when that happens in FileIOEngine, it
> causes an ClosedByInterruptException which is a subclass of
> ClosedChannelException. If we retry all ClosedChannelExceptions,
> this will lock as this access is expected to be interrupted.
> This change removes calling refreshFileConnections for
> ClosedByInterruptExceptions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)