[ 
https://issues.apache.org/jira/browse/HBASE-22623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902239#comment-16902239
 ] 

Andrew Purtell commented on HBASE-22623:
----------------------------------------

For the record I am not -1 to the previous version of the patch which did not 
include WALedit in the new hook. I am however of the opinion that the goal is 
to intercept WALentries, and they are composed of WALKey and WALEdit, so adding 
a hook that only has WALKey and not WALEdit would be dumb. We can do that as 
"compromise". It would be a dumb outcome, though, collectively, we would make a 
dumb engineering decision. 

> Add RegionObserver coprocessor hook for preWALAppend
> ----------------------------------------------------
>
>                 Key: HBASE-22623
>                 URL: https://issues.apache.org/jira/browse/HBASE-22623
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>             Fix For: 3.0.0, 1.5.0, 2.3.0
>
>
> While many coprocessor hooks expose the WALEdit to implementing coprocs, 
> there aren't any that expose the WALKey before it's created and added to the 
> WALEntry. 
> It's sometimes useful for coprocessors to be able to edit the WALKey, for 
> example to add extended attributes using the fields to be added in 
> HBASE-22622. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to