You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Liu Shaohui (JIRA)" <ji...@apache.org> on 2015/04/01 15:47:54 UTC

[jira] [Commented] (HBASE-13366) Throw DoNotRetryIOException instead of read only IOException

    [ https://issues.apache.org/jira/browse/HBASE-13366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390563#comment-14390563 ] 

Liu Shaohui commented on HBASE-13366:
-------------------------------------

[~eclark]
As [~enis] said, the read only state of region has no relationship with the region replica and this attribute can only be set to table descriptor. 

This failed tests are unrelated.  Could someone help to review the simple patch? Thanks

> Throw DoNotRetryIOException instead of read only IOException
> ------------------------------------------------------------
>
>                 Key: HBASE-13366
>                 URL: https://issues.apache.org/jira/browse/HBASE-13366
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-13366-v1.diff
>
>
> Currently, the read only region just throws an IOException to the clients who send write requests to it. This will cause the clients retry for configured times or until operation timeout.
> Changing this exception to DoNotRetryIOException will make the client failed fast.
> Suggestions are welcomed~ Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)