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

stack commented on HBASE-19680:
-------------------------------

Just before this comment, we've removed the description of what regular vs 
global is. Is this described elsewhere? Otherwise, the below comment might not 
make sense to use? Looks like there is just regular mode now anyways so can 
make the below statement general?

 
|73|* This class is thread safe in regular mode.|

 

 

So, now, inline, each mutate waits until it has gone to the server and server 
sends result back? No more background flushing or flushing when BM buffer is 
full? mutate is blocking?

 

 

 

> BufferedMutatorImpl#mutate should wait the result from AP in order to throw 
> the failed mutations
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19680
>                 URL: https://issues.apache.org/jira/browse/HBASE-19680
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19680.v0.patch, HBASE-19680.v1.patch
>
>
> Currently, BMI#mutate doesn't wait the result from AP so the errors are 
> stored in AP. The only way which can return the errors to user is, calling 
> the flush to catch the exception. That is non-intuitive.
> I feel BMI#mutate should wait the result. That is to say, user can parse the 
> exception thrown by BM#mutate to get the failed mutations. Also, we can 
> remove the global error from AP.



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

Reply via email to