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

Matteo Bertozzi commented on HBASE-15481:
-----------------------------------------

we still have a rollWriter() in the WAL class. so I expect a Roll coprocessor 
to be called. 
what do you think is best? 
if we add a boolean we end up adding 3 methods per type (e.g. Path)
if we pass the WAL instance you can probably do tricks with if instanceof 
FSHLog but I don't think you can lookup the old and new path. any other option?



> Add pre/post roll to WALObserver
> --------------------------------
>
>                 Key: HBASE-15481
>                 URL: https://issues.apache.org/jira/browse/HBASE-15481
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 1.3.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15481-v0.patch, HBASE-15481-v1.patch, 
> HBASE-15481-v1.patch
>
>
> currently the WALObserver has only a pre/post Write. It will be useful to 
> have a pre/post Roll too. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to