You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/06/08 23:57:06 UTC

[jira] [Resolved] (HBASE-2292) Need to be able to specify a custom RowLock for incrementColumnValue

     [ https://issues.apache.org/jira/browse/HBASE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-2292.
-----------------------------------

    Resolution: Not a Problem
      Assignee:     (was: Benoit Sigoure)

Substantial changes in this area since issue was initially filed. Stale issue. Reopen if still relevant (if there's new activity)

> Need to be able to specify a custom RowLock for incrementColumnValue 
> ---------------------------------------------------------------------
>
>                 Key: HBASE-2292
>                 URL: https://issues.apache.org/jira/browse/HBASE-2292
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, regionserver
>    Affects Versions: 0.20.3
>            Reporter: 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 was sent by Atlassian JIRA
(v6.2#6252)