You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/03/25 15:37:15 UTC

[jira] [Comment Edited] (ACCUMULO-1190) The update() method on the ProxyServer should throw a MutationsRejectedException

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

Keith Turner edited comment on ACCUMULO-1190 at 3/25/13 2:36 PM:
-----------------------------------------------------------------

The patch removes oneway from update().  This may have performance consequences.   

An alternative would be to leave update() as oneway.  When an exception occurs, in the proxy remember the exception and start throwing away subsequent updates.  When the user finally calls close() or flush(), then throw the exception.  This strategy makes error conditions suboptimal, but normal conditions more optimal.
                
      was (Author: kturner):
    The patch changes removes oneway from update().  This may performance consequences.   

An alternative would be to leave update() as oneway.  When exception occurs, in the proxy remember the exception and start throwing away subsequent updates.  When the user finally calls close or flush, then throw the exception.  This strategy makes error conditions suboptimal, but normal conditions more optimal.
                  
> The update() method on the ProxyServer should throw a MutationsRejectedException 
> ---------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-1190
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1190
>             Project: Accumulo
>          Issue Type: Bug
>          Components: proxy
>            Reporter: Corey J. Nolet
>            Assignee: Corey J. Nolet
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-1190.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira