sharmaar12 opened a new pull request, #7554:
URL: https://github.com/apache/hbase/pull/7554

   Currenly, 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. 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to