accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1000) support compare and set
Date Wed, 05 Jun 2013 23:35:19 GMT


Keith Turner commented on ACCUMULO-1000:

bq. I think we could hammer in this functionality by using an iterator that checks the precondition
and returns a boolean- have you thought about how to add in that to ConditionalMutation?

My only thoughts about iterators so far is that the check will be done on the server side
by reading the data through the iterator stack configured for the table.  I suppose the ConditionalWriter
could be configured to use iterators just like the scanner can.   This made me think that
ConditionalWriter could extend ScannerBase, took a look at the API most of the methods make
sense except for iterator().
> support compare and set
> -----------------------
>                 Key: ACCUMULO-1000
>                 URL:
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: client, tserver
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.6.0
>         Attachments: ACCUMULO-1000-proposal-01.html, ACCUMULO-1000-proposal-01.txt
> Add support to mutation for compare and set operations.  This would allow user to specify
that a row must contain certain data for a mutation to be applied.

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:

View raw message