[
https://issues.apache.org/jira/browse/HBASE-21643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guanghao Zhang updated HBASE-21643:
-----------------------------------
Description:
The old method postMutationBeforeWAL is not accurate about what it do. It is
only called during increment and append. But the name is "Mutation"... And the
javadoc only said it will be called by increment...
{code:java}
* Called after a new cell has been created during an increment operation, but
before
* it is committed to the WAL or memstore.
{code}
We use this coprocessor in our use case. And need add some cells to apply to
WAL. So I introduced two new method postIncrementBeforeWAL and
postAppendBeforeWAL to instead of this.
was:
The old method postMutationBeforeWAL is not accurate about what it do. It is
only called during increment and append. But the name is "Mutation"... And the
javadoc only said it will be called by increment...
{code:java}
* Called after a new cell has been created during an increment operation, but
before
* it is committed to the WAL or memstore.
{code}
We use this coprocessor in our use case. And need add some cells to apply to
WAL. So I introduced two new method postIncrementBeforeWAL and
postAppendBeforeWAL to instead of this.
> Introduce two new region coprocessor method and deprecated
> postMutationBeforeWAL
> --------------------------------------------------------------------------------
>
> Key: HBASE-21643
> URL: https://issues.apache.org/jira/browse/HBASE-21643
> Project: HBase
> Issue Type: Improvement
> Reporter: Guanghao Zhang
> Assignee: Guanghao Zhang
> Priority: Major
> Attachments: HBASE-21643.master.001.patch
>
>
> The old method postMutationBeforeWAL is not accurate about what it do. It is
> only called during increment and append. But the name is "Mutation"... And
> the javadoc only said it will be called by increment...
> {code:java}
> * Called after a new cell has been created during an increment operation, but
> before
> * it is committed to the WAL or memstore.
> {code}
>
> We use this coprocessor in our use case. And need add some cells to apply to
> WAL. So I introduced two new method postIncrementBeforeWAL and
> postAppendBeforeWAL to instead of this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)