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

Jeffrey Zhong updated HBASE-9390:
---------------------------------

    Attachment: hbase-9390.patch

I combined the Nicolas patch into the hbase-9390.patch.

I modified preWALRestore interface as following because we should not allow 
external clients to control if to recover edits. Otherwise, HBase data 
integrity is nondeterministic.
{code}
-  public boolean preWALRestore(HRegionInfo info, HLogKey logKey, WALEdit 
logEdit) throws IOException
+  public void preWALRestore(HRegionInfo info, HLogKey logKey, WALEdit logEdit) 
throws IOException
{code}

Thanks.
                
> coprocessors observers are not called during a recovery with the new log 
> replay algorithm
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-9390
>                 URL: https://issues.apache.org/jira/browse/HBASE-9390
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors, MTTR
>    Affects Versions: 0.95.2
>            Reporter: Nicolas Liochon
>            Assignee: Jeffrey Zhong
>         Attachments: copro.patch, hbase-9390.patch
>
>
> See the patch to reproduce the issue: If we activate log replay we don't have 
> the events on WAL restore.
> Pinging [~jeffreyz], we discussed this offline.

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

Reply via email to