You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Hari Mankude (JIRA)" <ji...@apache.org> on 2013/04/29 23:14:15 UTC

[jira] [Created] (HBASE-8458) Support for batch version of checkAndPut() and checkAndDelete()

Hari Mankude created HBASE-8458:
-----------------------------------

             Summary: Support for batch version of checkAndPut() and checkAndDelete()
                 Key: HBASE-8458
                 URL: https://issues.apache.org/jira/browse/HBASE-8458
             Project: HBase
          Issue Type: Improvement
          Components: Client, regionserver
    Affects Versions: 0.95.0
            Reporter: Hari Mankude


The use case is that the user has multiple threads loading hundreds of keys into a hbase table. Occasionally there are collisions in the keys being uploaded by different threads. So for correctness, it is required to do checkAndPut() instead of a put(). However, doing a checkAndPut() rpc for every key update is non optimal. It would be good to have a batch version of checkAndPut() similar to batch put(). The client can partition the keys on region boundaries.

The jira is NOT looking for any type of cross-row locking or multi-row atomicity with checkAndPut()

Batch version of checkAndDelete() is a similar requirement.

--
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