You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/09/05 03:18:53 UTC

[jira] [Updated] (HBASE-9390) coprocessors observers are not called during a recovery with the new log replay algorithm

     [ 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