Need to be able to specify a custom RowLock for incrementColumnValue 
---------------------------------------------------------------------

                 Key: HBASE-2292
                 URL: https://issues.apache.org/jira/browse/HBASE-2292
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: client, regionserver
    Affects Versions: 0.20.3
            Reporter: Benoit Sigoure
            Assignee: Benoit Sigoure
            Priority: Minor


I'm grabbing my own {{RowLock}} on a given row and then I want to do an ICV on 
the row (among other things) while I hold the lock.  Unlike {{Get}}, {{Put}} 
and whatnot, there's no way to specify your own {{RowLock}} when doing an ICV.  
Technically, you can live without this since you can get just a {{Get}} 
followed by a {{Put}} after having manually incremented the value, which is 
guaranteed to work as you hold the {{RowLock}} on that row, but it would be 
nice to be able to just do an ICV.

Right now, {{incrementColumnValue}} attempts to lock the row again (which is 
normal), thus causing my client to "deadlock" itself until its {{RowLock}}'s 
lease expires.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to