You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/03/15 14:31:00 UTC

[jira] [Commented] (HBASE-20206) WALEntryStream should not switch WAL file silently

    [ https://issues.apache.org/jira/browse/HBASE-20206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400474#comment-16400474 ] 

Duo Zhang commented on HBASE-20206:
-----------------------------------

After reading the code carefully, I think this is not a critical one since it will not lead to data inconsistency in peer cluster. The only bad thing is that it may cause us to replicate the old data which has already been replicated again on restart. So will make it a sub task of HBASE-20046, and commit to master first. Later we will backport it to branch-2 when the serial replication feature is finished.

> WALEntryStream should not switch WAL file silently
> --------------------------------------------------
>
>                 Key: HBASE-20206
>                 URL: https://issues.apache.org/jira/browse/HBASE-20206
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HBASE-20206.patch
>
>
> The returned WALEntryBatch contains a file name and position, if we allow switching WAL file silently then the position maybe wrong since it may be for another file...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)