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

Huaxiang Sun commented on HBASE-25129:
--------------------------------------

Thanks Duo for the explain. This issue has nothing to do with meta replica. We 
have one table, which has the replication scope set to 1 by accident, and 
actually, there is no replication peer (i.e, no replication turned on at that 
cluster). In this case, I was expecting that rep_barrier has 0 cells, and found 
that there are quite some cells in this family. 

While this is not causing serious issue so far, it will be great to avoid if it 
is not necessary. 

 

> serial replication, addReplicationBarrier is writing to rep_barrier family 
> even there is no serial replication peer.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-25129
>                 URL: https://issues.apache.org/jira/browse/HBASE-25129
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Major
>
> We found that there are quite some data in rep_barrier family even there is 
> no serial replication enabled. Checked the code,  it is checking if table has 
> replication enabled. Think there is another check needed (i.e, is there any 
> serial replication peers configured).
> [https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateStore.java#L215]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to