You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2018/12/26 09:42:00 UTC

[jira] [Created] (HBASE-21643) Introduce two new region coprocessor method and deprecated postMutationBeforeWAL

Guanghao Zhang created HBASE-21643:
--------------------------------------

             Summary: 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


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)