You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Oliver (JIRA)" <ji...@apache.org> on 2015/07/09 22:51:04 UTC

[jira] [Created] (TRAFODION-26) Add TM checkAndPut/checkAndDelete methods that handle a list of puts or deletes

Oliver created TRAFODION-26:
-------------------------------

             Summary: Add TM checkAndPut/checkAndDelete methods that handle a list of puts or deletes
                 Key: TRAFODION-26
                 URL: https://issues.apache.org/jira/browse/TRAFODION-26
             Project: Apache Trafodion
          Issue Type: New Feature
            Reporter: Oliver


We currently have methods to execute a checkAndPut/checkAndDelete with a single value.  This JIRA is to describe adding methods that will take a List<Put> or List<Delete>.

We have similar implementations for put() and delete() where a single or list can be used.  Using the list can give an improved performance as the put's for the same region will be grouped together and sent in the same protobuf.

One design idea would be to have the method return an array of boolean to give the status of the checkAndPut for each entry.  
Public Boolean[] checkAndPut(long transid, List<Put> puts)

The functionality is requested by Selva for their VSBB changes on the SQL side. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)