You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Heng Chen (JIRA)" <ji...@apache.org> on 2015/12/08 10:03:11 UTC
[jira] [Commented] (HBASE-14949) Skip duplicate entries when replay
WAL.
[ https://issues.apache.org/jira/browse/HBASE-14949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046604#comment-15046604 ]
Heng Chen commented on HBASE-14949:
-----------------------------------
There are something error in this patch, maybe the wals is
000001
000001.dup
000002
000002.dup
000003
000004
000005.dup
I will modify the sort logic of files
> Skip duplicate entries when replay WAL.
> ---------------------------------------
>
> Key: HBASE-14949
> URL: https://issues.apache.org/jira/browse/HBASE-14949
> Project: HBase
> Issue Type: Sub-task
> Reporter: Heng Chen
> Attachments: hbase-14949.patch
>
>
> As HBASE-14004 design, there will be duplicate entries in different WAL. It happens when one hflush failed, we will close old WAL with 'acked hflushed' length, then open a new WAL and write the unacked hlushed entries into it.
> So there maybe some overlap between old WAL and new WAL.
> We should skip the duplicate entries when replay. I think it has no harm to current logic, maybe we do it first.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)