Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - removing lock ids from RegionObserver


Copy link to this message
-
Re: removing lock ids from RegionObserver
Stack 2013-07-06, 21:51
On Sat, Jul 6, 2013 at 2:49 PM, Dave Latham <[EMAIL PROTECTED]> wrote:

> In HBASE-8877 I'm proposing to change row locks to be reentrant and thread
> based rather than tracking lock ids.  Part of that change would mean
> altering the RegionObserver coprocessor.  Specifically, the methods
> preBatchMutate and postBatchMutate would have the parameter
> MiniBatchOperationInProgress<Pair<Mutation,
> Integer>> miniBatchOp become
> MiniBatchOperationInProgress<Mutation> miniBatchOp
>
> Does anyone rely on lock ids for this coprocessor or object to the change?
> Is it safe to make this incompatible change for 0.96?
>
>
+1 for 0.96.  (Why would an observer want the lockid anyways?)
St.Ack