[
https://issues.apache.org/jira/browse/HBASE-18845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180017#comment-16180017
]
Duo Zhang commented on HBASE-18845:
-----------------------------------
The replication will keep reading the same file if it is still opened for
writing. In the old code, we determine if a file is still opened for writing by
checking if it is the only one file in the replication queue, so inject a new
file to the queue will make progress, and now this is changed, so if you want
the replication queue to be advanced then you need to roll the WAL explicitly.
> TestReplicationSmallTests fails after HBASE-14004
> -------------------------------------------------
>
> Key: HBASE-18845
> URL: https://issues.apache.org/jira/browse/HBASE-18845
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 3.0.0, 2.0.0-alpha-3
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 3.0.0, 2.0.0-alpha-4
>
> Attachments: HBASE-18845.patch
>
>
> testEmptyWALRecovery and testVerifyRepJob
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)