[
https://issues.apache.org/jira/browse/HBASE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell closed HBASE-2292.
--------------------------------------
> 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
(v8.20.7#820007)