[
https://issues.apache.org/jira/browse/HBASE-4210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anoop Sam John updated HBASE-4210:
----------------------------------
Release Note:
Adds a pre/post CP hooks to deal with batches of Puts and Deletes rather than
individual Put/Delete.
The preBatchMutate hook will be called after aquiring locks on all the rows
which are involved in a batch.
Also by this time the timestamps for Mutation will be applied at RS. So from
this hook CP can get the batch of Mutations getting applied and their
timestamps which will be getting applied
CP also can bypass any of the Mutation from getting applied by setting its
OperationStatus as SUCCESS/FAILURE.
preBatchMutate hook will be called after write to memstore and append and sync
to WAL.
> Allow coprocessor to interact with batches per region sent from a client
> ------------------------------------------------------------------------
>
> Key: HBASE-4210
> URL: https://issues.apache.org/jira/browse/HBASE-4210
> Project: HBase
> Issue Type: New Feature
> Affects Versions: 0.95.0, 0.94.6
> Reporter: Lars Hofhansl
> Assignee: Anoop Sam John
> Fix For: 0.95.0, 0.98.0, 0.94.6
>
> Attachments: 4210_Trunk-V3.patch, HBASE-4210_94.patch,
> HBASE-4210_94-V2.patch, HBASE-4210_94-V3.patch, HBASE-4210_94-V4.patch,
> HBASE-4210_94-V5.patch, hbase-4210-addendum.patch, HBASE-4210_Trunk.patch,
> HBASE-4210_Trunk-V2.patch, HBASE-4210_Trunk-V3.patch
>
>
> Currently the coprocessor write hooks - {pre|post}{Put|Delete} - are strictly
> one row|cell operations.
> It might be a good idea to allow a coprocessor to deal with batches of puts
> and deletes as they arrive from the client.
--
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