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 2018/12/26 09:43: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:
-----------------------------------
    Attachment: HBASE-21643.master.001.patch

> 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)