hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13366) Throw DoNotRetryIOException instead of read only IOException
Date Tue, 31 Mar 2015 20:23:55 GMT

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

Elliott Clark commented on HBASE-13366:
---------------------------------------

[~enis] take the following:

* RS1 has region A
* RS2 has read replica for A
* Client wants to Put to region A
* Master wants RS2 to open Region A
* RS1 is asked to close region A with knowledge that RS2 is going to open it.
* Client gets RegionMovedException from RS1 with extra info.
* RS2 still has the replica open and sees the request.
* Client now fails something that should be retired in short order 

> 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)

Mime
View raw message