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

Anuj Sharma commented on HBASE-29778:
-------------------------------------

The real reason this is happening because we are sending IOException hence 
client retries same operation which is causing multiple similar exception.

If we abort then it can lead to RS instability or corruption and using 
context.bypass will lead directly go to perform operation directly instead of 
aborting it, hence safer is to use DoNotRetryIOException.

 

> Abort the operation if not allowed in read-only mode
> ----------------------------------------------------
>
>                 Key: HBASE-29778
>                 URL: https://issues.apache.org/jira/browse/HBASE-29778
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Anuj Sharma
>            Assignee: Anuj Sharma
>            Priority: Major
>
> Currently, if we discover that the operation is not allowed in Read-Only Mode 
> then we are sending exception, but the context does not get aborted leading 
> to multiple same exceptions gets thrown.
> In this task, will be aborting the operation after the first exception gets 
> thrown.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to