[
https://issues.apache.org/jira/browse/HBASE-20147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400132#comment-16400132
]
Duo Zhang commented on HBASE-20147:
-----------------------------------
Found a problem which prevents me to write more UTs. For now the
testChangeToSerial because we will re-replicate the already rolled wals again...
The problem is that WALEntryStream will switch WAL files silently(almost), so
it is easy for us to miss the chance for calling cleanOldLogs...
> Serial replication will be stuck if we create a table with serial replication
> but add it to a peer after there are region moves
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-20147
> URL: https://issues.apache.org/jira/browse/HBASE-20147
> Project: HBase
> Issue Type: Sub-task
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HBASE-20147-v1.patch, HBASE-20147.patch,
> HBASE-20147.patch
>
>
> The start point for serial replication is that, if we are in the first range
> then we are safe to push. And we will record replication barrier when the
> replication scope is set to SERIAL even if the table is not contained in any
> peers. So it could happen that, we record several barriers in the meta
> already and then we add a peer which contains this table. So when
> replicating, we will find that we are not in the first range, and then the
> replication will be stuck.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)