You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jan Van Besien (JIRA)" <ji...@apache.org> on 2012/10/30 12:08:13 UTC

[jira] [Updated] (HBASE-4844) Coprocessor hooks for log rolling

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

Jan Van Besien updated HBASE-4844:
----------------------------------

    Release Note: Addition of two methods to the WALObserver to be notified of HLog rotation (postLogRoll) and HLog archiving (postLogArchive).
          Status: Patch Available  (was: Open)

I created a fairly straightforward patch to add the two discussed methods to the WALObserver. It simply makes the calls whenever the similar methods in WALActionListener are also called. It seems to work, but maybe I overlooked some things I don't know of?

I included a basic test for the postLogRoll method.
                
> Coprocessor hooks for log rolling
> ---------------------------------
>
>                 Key: HBASE-4844
>                 URL: https://issues.apache.org/jira/browse/HBASE-4844
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 0.94.0
>            Reporter: Lars Hofhansl
>            Priority: Minor
>
> In order to eventually do point in time recovery we need a way to reliably back up the logs. Rather than adding some hard coded changes, we can provide coprocessor hooks and folks can implement their own policies.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira