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

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

     [ https://issues.apache.org/jira/browse/HBASE-21643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guanghao Zhang updated HBASE-21643:
-----------------------------------
    Release Note: Deprecated region coprocessor postMutationBeforeWAL and introduce two new region coprocessor postIncrementBeforeWAL and postAppendBeforeWAL instead.

> 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
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: HBASE-21643.master.001.patch, HBASE-21643.master.002.patch, HBASE-21643.master.003.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)