hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15228) Add the methods to RegionObserver to trigger start/complete restoring WALs
Date Sat, 21 May 2016 04:31:12 GMT

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

Anoop Sam John updated HBASE-15228:
-----------------------------------
    Release Note: 
Added two hooks around WAL restore. 
preReplayWALs(final ObserverContext<? extends RegionCoprocessorEnvironment> ctx,  HRegionInfo
info, Path edits)
and
postReplayWALs(final ObserverContext<? extends RegionCoprocessorEnvironment> ctx,  HRegionInfo
info, Path edits) 

Will be called at start and end of restore of a WAL file. 
The other hook around WAL restore (preWALRestore ) will be called before restore of every
entry within the WAL file. 

> Add the methods to RegionObserver to trigger start/complete restoring WALs
> --------------------------------------------------------------------------
>
>                 Key: HBASE-15228
>                 URL: https://issues.apache.org/jira/browse/HBASE-15228
>             Project: HBase
>          Issue Type: New Feature
>          Components: Coprocessors
>            Reporter: Toshihiro Suzuki
>            Assignee: Toshihiro Suzuki
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15228-v1.patch, HBASE-15228-v2.patch, HBASE-15228-v3.patch,
HBASE-15228.patch
>
>
> In our use case, we write indexes to a index table when restoring WALs. We want to trigger
start/complete restoring WALs for initial and end processing for writing indexes.



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

Mime
View raw message